mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- don't double-multiply with alpha.
# Conflicts: # wadsrc/static/engine/shaders/glsl/polymost.fp
This commit is contained in:
parent
556eb44690
commit
c403bc4a67
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ void main()
|
||||||
color.rgb *= lightcolor;
|
color.rgb *= lightcolor;
|
||||||
if ((u_flags & RF_MapFog) == 0) color.rgb += u_fogColor.rgb * shade;
|
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.
|
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.
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue