id's sky code is back (gl_sky_clip 2 when no skybox is loaded). Not as fast

as the black polygons (duh:) and not as nice looking as the sky dome, but also
not as slow (fps when standing in the normal coridor looking at the sky in
start: 26 for skydome, 37 for id skys, 44 for black). Good for when you want
to see sky other than black but your card can't handle the fillrate
requirements of skydome. I'll clean up the sqrt in there soonish.
This commit is contained in:
Bill Currie 2001-09-03 06:12:10 +00:00
parent ed4de07e9a
commit dc4cd343b5
4 changed files with 61 additions and 5 deletions

View file

@ -139,6 +139,9 @@ extern void SetUpForLineScan(fixed8_t startvertu, fixed8_t startvertv,
extern int r_skymade;
extern void R_MakeSky (void);
extern int solidskytexture;
extern int alphaskytexture;
extern int ubasestep, errorterm, erroradjustup, erroradjustdown;
extern double r_realtime;