summaryrefslogtreecommitdiff
path: root/shaders/terrain_fragment.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/terrain_fragment.glsl')
-rw-r--r--shaders/terrain_fragment.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/terrain_fragment.glsl b/shaders/terrain_fragment.glsl
index 78417af..2d02dc8 100644
--- a/shaders/terrain_fragment.glsl
+++ b/shaders/terrain_fragment.glsl
@@ -7,7 +7,7 @@ uniform sampler2D tex[3];
void main() {
vec3 n = normalize(normal);
- float diffuse = max(dot(n, light_pos), 0.0);
+ float diffuse = max(dot(n, light_pos), 0.5);
float f1 = clamp((y-15.0) / 3.0, 0.0, 1.0);
float f2 = clamp((y-2) / 3.0, 0.0, 1.0);