- forgot to save the shader...

This commit is contained in:
Christoph Oelckers 2020-02-18 21:05:29 +01:00
parent 6282062492
commit 9cffd5b364
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ void main()
if ((u_flags & RF_Brightmapping) != 0) 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 *= lightcolor;
color.rgb += u_fogColor.rgb * shade; color.rgb += u_fogColor.rgb * shade;