MAINT-6551 One of my avatars does not render correctly when ALM is disabled unless basic shaders are also disabled.

meow-7.2.2
Pavel Krivich 2016-12-12 19:20:43 +02:00
commit 597a68ebbf
1 changed files with 2 additions and 2 deletions

View File

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