- added explicit fog density as a sector property, accessible through UDMF and ACS.
- allow changing sector glow information through ACS.
This commit is contained in:
parent
11bea8249a
commit
d748b6ad70
9 changed files with 77 additions and 19 deletions
|
|
@ -515,7 +515,7 @@ void GLWall::RenderFogBoundaryCompat()
|
|||
{
|
||||
// without shaders some approximation is needed. This won't look as good
|
||||
// as the shader version but it's an acceptable compromise.
|
||||
float fogdensity = gl_GetFogDensity(lightlevel, Colormap.FadeColor);
|
||||
float fogdensity = gl_GetFogDensity(lightlevel, Colormap.FadeColor, Colormap.fogdensity);
|
||||
|
||||
float dist1 = Dist2(ViewPos.X, ViewPos.Y, glseg.x1, glseg.y1);
|
||||
float dist2 = Dist2(ViewPos.X, ViewPos.Y, glseg.x2, glseg.y2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue