SL-11343
Make materials apply vertex color to both linear and srgb versions of diffuse color.meow-7.2.2
parent
b507392b78
commit
ee9ad6520e
|
|
@ -243,6 +243,7 @@ void main()
|
|||
#endif
|
||||
|
||||
diffuse_linear.rgb *= vertex_color.rgb;
|
||||
diffuse_srgb.rgb *= linear_to_srgb(vertex_color.rgb);
|
||||
|
||||
#ifdef HAS_SPECULAR_MAP
|
||||
vec4 spec = texture2D(specularMap, vary_texcoord2.xy);
|
||||
|
|
|
|||
Loading…
Reference in New Issue