SL-11372
Fix incorrect diffuse handling in class1 softenLight from contrib.meow-7.2.2
parent
9d138b1440
commit
032848472c
|
|
@ -159,7 +159,7 @@ vec3 post_diffuse = color.rgb;
|
|||
vec3 post_spec = color.rgb;
|
||||
|
||||
#ifndef WATER_FOG
|
||||
color.rgb += diffuse_srgb.rgb * diffuse_srgb.a;
|
||||
color.rgb = mix(color.rgb, diffuse_srgb.rgb, diffuse_srgb.a);
|
||||
#endif
|
||||
|
||||
if (envIntensity > 0.0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue