1
0
Fork 0

Don't scale alpha when using reflection coefficient

This commit is contained in:
Frederic Bouvier 2010-09-21 19:59:22 +02:00
parent 52c646b2cc
commit 2bc5c2177a

View file

@ -111,7 +111,7 @@ void main (void)
vec4 reflcolor = mix(reflection, rainbow, rainbowiness * v);
vec4 reflfrescolor = mix(reflcolor, fresnel, fresneliness * v);
vec4 noisecolor = mix(reflfrescolor, noisevec, noisiness);
vec4 raincolor = vec4(noisecolor.rgb, 1.0) * reflFactor;
vec4 raincolor = vec4(noisecolor.rgb * reflFactor, 1.0);
vec4 mixedcolor = mix(texel, raincolor, reflFactor);