mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 11:51:17 +00:00
Made volumetric fog use the cvar r_volfog for the density.
This commit is contained in:
parent
195af30ce9
commit
24e1dd5e07
1 changed files with 1 additions and 1 deletions
|
@ -1028,7 +1028,7 @@ R_RenderView ( void ) {
|
|||
glFogi (GL_FOG_MODE, GL_EXP2);
|
||||
glFogfv (GL_FOG_COLOR, colors);
|
||||
// fixme: GL_FOG_DENSITY should have r_volfog_density var
|
||||
glFogf (GL_FOG_DENSITY, .0005);
|
||||
glFogf (GL_FOG_DENSITY, r_volfog->value);
|
||||
|
||||
glEnable(GL_FOG);
|
||||
R_DrawWaterSurfaces();
|
||||
|
|
Loading…
Reference in a new issue