- don't double-multiply with alpha.

# Conflicts:
#	wadsrc/static/engine/shaders/glsl/polymost.fp
This commit is contained in:
Christoph Oelckers 2020-04-12 09:44:28 +02:00
parent 556eb44690
commit c403bc4a67
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ void main()
color.rgb *= lightcolor;
if ((u_flags & RF_MapFog) == 0) color.rgb += u_fogColor.rgb * shade;
}
else color.rgb *= v_color.rgb;
}
if ((u_flags & RF_MapFog) != 0) // fog hack for RRRA E2L1. Needs to be done better, this is gross, but still preferable to the broken original implementation.
{