Correction to the reflection behavior of the ALS model shader suggested by Heiko Schulz
This commit is contained in:
parent
e1dcd3f38c
commit
5f5440be81
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue