Fix incorrect diffuse handling in class1 softenLight from contrib.
meow-7.2.2
Graham Linden 2019-06-18 11:04:04 -07:00
parent 9d138b1440
commit 032848472c
1 changed files with 1 additions and 1 deletions

View File

@ -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)