1
0
Fork 0

reverted change in landmass,frag by accident

This commit is contained in:
gral@who.net 2010-09-05 23:59:43 +02:00
parent 7361ef722a
commit 4ffd132241

View file

@ -126,7 +126,7 @@ void main (void)
}
// end shadow
vec4 ambient_light = constantColor + gl_LightSource[0].diffuse * shadow_factor * vec4(diffuse, -1.0);
vec4 ambient_light = constantColor + gl_LightSource[0].diffuse * shadow_factor * vec4(diffuse, 1.0);
c1 *= ambient_light;
vec4 finalColor = c1;