1
0
Fork 0

Correction to the reflection behavior of the ALS model shader suggested by Heiko Schulz

This commit is contained in:
Thorsten Renk 2017-02-24 08:51:28 +02:00
parent e1dcd3f38c
commit 5f5440be81

View file

@ -357,7 +357,8 @@ void main (void)
//vec4 reflcolor = reflection;
vec4 reflfrescolor = mix(reflcolor, fresnel, refl_fresnel * v);
vec4 noisecolor = mix(reflfrescolor, noisevec, refl_noise);
vec4 raincolor = vec4(noisecolor.rgb * reflFactor, 1.0);
//vec4 raincolor = vec4(noisecolor.rgb * reflFactor, 1.0);
vec4 raincolor = vec4(noisecolor.rgb, 1.0);
raincolor += Specular;
raincolor *= light_diffuse;