Skip to content
Snippets Groups Projects
Commit 2ec0ccb6 authored by ruslantproductengine's avatar ruslantproductengine
Browse files

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

parent d2191733
No related branches found
No related tags found
No related merge requests found
...@@ -41,12 +41,12 @@ void default_lighting() ...@@ -41,12 +41,12 @@ void default_lighting()
{ {
vec4 color = diffuseLookup(vary_texcoord0.xy); vec4 color = diffuseLookup(vary_texcoord0.xy);
color *= vertex_color;
if (color.a < minimum_alpha) if (color.a < minimum_alpha)
{ {
discard; discard;
} }
color *= vertex_color;
color.rgb = atmosLighting(color.rgb); color.rgb = atmosLighting(color.rgb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment