Platform: terrain_alpha_* GLSL will no longer apply fog to the fragment's

alpha component
This commit is contained in:
Marco Cawthorne 2021-07-19 08:32:52 +02:00
parent 50c3f27a69
commit 362895b19c
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,7 @@ varying vec2 lm1, lm2, lm3;
diffuse_f *= ShadowmapFilter(s_shadowmap, vtexprojcoord);
#endif
gl_FragColor = fog4( vec4(diffuse_f, 1.0) );
gl_FragColor = vec4(fog3(diffuse_f), 1.0);
}
#endif

View file

@ -160,7 +160,7 @@ varying vec2 lm1, lm2, lm3;
diffuse_f *= ShadowmapFilter(s_shadowmap, vtexprojcoord);
#endif
gl_FragColor = fog4( vec4(diffuse_f, alpha) );
gl_FragColor = vec4(fog3(diffuse_f), alpha);
}
#endif