SL-11656 Alpha textures with Alpha mask cutoff of 255 look glitchy while ALM is off.

meow-7.2.2
ruslantproductengine 2019-09-25 18:39:08 +03:00
parent d21917338e
commit 2ec0ccb628
1 changed files with 2 additions and 2 deletions

View File

@ -41,12 +41,12 @@ void default_lighting()
{
vec4 color = diffuseLookup(vary_texcoord0.xy);
color *= vertex_color;
if (color.a < minimum_alpha)
{
discard;
}
color *= vertex_color;
color.rgb = atmosLighting(color.rgb);