reverted change in landmass,frag by accident
This commit is contained in:
parent
7361ef722a
commit
4ffd132241
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue