SL-12784 restore vertex color alpha contribution

meow-7.2.2
Dave Houlton 2020-03-12 16:52:48 -06:00
parent 23953e416e
commit c7f2712d95
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ void main()
vec2 pos_screen = vary_texcoord0.xy;
vec4 diffuse_srgb = texture2D(diffuseMap, vary_texcoord0.xy);
diffuse_srgb.rgb *= vertex_color.rgb;
diffuse_srgb *= vertex_color;
vec4 diffuse_linear = vec4(srgb_to_linear(diffuse_srgb.rgb), diffuse_srgb.a);
#if (DIFFUSE_ALPHA_MODE == DIFFUSE_ALPHA_MODE_MASK)