From 9cffd5b3645a582032a7d824c080b35b9f894904 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 18 Feb 2020 21:05:29 +0100 Subject: [PATCH] - forgot to save the shader... --- wadsrc/static/engine/shaders/glsl/polymost.fp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/engine/shaders/glsl/polymost.fp b/wadsrc/static/engine/shaders/glsl/polymost.fp index cf2266cec..eacde0db7 100644 --- a/wadsrc/static/engine/shaders/glsl/polymost.fp +++ b/wadsrc/static/engine/shaders/glsl/polymost.fp @@ -214,7 +214,7 @@ void main() if ((u_flags & RF_Brightmapping) != 0) { - lightcolor = texture(s_brightmap, v_texCoord.xy).rgb; + lightcolor += texture(s_brightmap, v_texCoord.xy).rgb; } color.rgb *= lightcolor; color.rgb += u_fogColor.rgb * shade;