tone down ambient light a bit

This commit is contained in:
Josh Holtrop committed 2011-05-05 14:04:09 -04:00
1 parent 59d0d66c44
commit f3be2efddc
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ void main(void)
float NdotL, RdotEye;
lightDir = normalize(vec3(-0.1, 0, -0.9));
color = ambient; /* ambient light */
color = vec4(0.2, 0.2, 0.2, 1.0) * ambient; /* ambient light */
n = normalize(normal_i);
NdotL = max(dot(n, -lightDir), 0.0);