Skip to content
Snippets Groups Projects
Commit 597a68eb authored by Pavel Krivich's avatar Pavel Krivich
Browse files

MAINT-6551 One of my avatars does not render correctly when ALM is disabled...

MAINT-6551 One of my avatars does not render correctly when ALM is disabled unless basic shaders are also disabled.
parents 5cc716db ef7ddc94
No related branches found
No related tags found
No related merge requests found
...@@ -43,12 +43,12 @@ void default_lighting() ...@@ -43,12 +43,12 @@ void default_lighting()
{ {
vec4 color = texture2D(diffuseMap,vary_texcoord0.xy); vec4 color = texture2D(diffuseMap,vary_texcoord0.xy);
color *= vertex_color;
if (color.a < minimum_alpha) if (color.a < minimum_alpha)
{ {
discard; discard;
} }
color.rgb *= vertex_color.rgb;
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