summaryrefslogtreecommitdiff
path: root/terrain_fragment.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'terrain_fragment.glsl')
-rw-r--r--terrain_fragment.glsl11
1 files changed, 0 insertions, 11 deletions
diff --git a/terrain_fragment.glsl b/terrain_fragment.glsl
deleted file mode 100644
index 774bfd3..0000000
--- a/terrain_fragment.glsl
+++ /dev/null
@@ -1,11 +0,0 @@
-varying vec3 normal, light_pos;
-
-uniform sampler2D tex;
-
-void main() {
- vec3 n = normalize(normal);
- float diffuse = max(dot(n, light_pos), 0.0);
- gl_FragColor = texture2D(tex, gl_TexCoord[0].st) * diffuse;
-}
-
-/* vim: set syn=glsl: */