- forgot to save the shader...

This commit is contained in:
Christoph Oelckers 2020-02-18 21:05:29 +01:00
parent 6282062492
commit 9cffd5b364

View file

@ -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;