implemented fog height setting, along with fade depth setting - global
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 Nov 2009 13:08:39 +0000 (13:08 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 Nov 2009 13:08:39 +0000 (13:08 +0000)
commit58370d86168c0a67b624b4dec4fe5d296c0d8c99
tree451177299be96683e1003d5e525b71d4216d5afb
parenta58d25cf5db3dde7da30bd63418a0d56b3dc69d9
implemented fog height setting, along with fade depth setting - global
fog now has a ceiling and a gradient fade to prevent harsh artifacts at
the transition line
reworked sky rendering to accept fog by using the surface renderer
reworked sprite rendering to use the surface renderer
reworked corona rendering to use the surface renderer
reworked fogging a bit on nomodel entities
eliminated R_DrawSprite

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9437 d7cf8633-e32d-0410-b094-e92efae38249
15 files changed:
cl_main.c
cl_parse.c
cl_particles.c
client.h
gl_draw.c
gl_rmain.c
model_brush.c
model_brush.h
model_shared.c
model_shared.h
r_lightning.c
r_shadow.c
r_sky.c
r_sprites.c
render.h