summaryrefslogtreecommitdiff
path: root/res/basicShader.fs
diff options
context:
space:
mode:
Diffstat (limited to 'res/basicShader.fs')
-rw-r--r--res/basicShader.fs13
1 files changed, 0 insertions, 13 deletions
diff --git a/res/basicShader.fs b/res/basicShader.fs
deleted file mode 100644
index 3aa974f..0000000
--- a/res/basicShader.fs
+++ /dev/null
@@ -1,13 +0,0 @@
-#version 120
-
-varying vec2 texCoord0;
-varying vec3 normal0;
-
-uniform sampler2D sampler;
-uniform vec3 lightDirection;
-
-void main()
-{
- gl_FragColor = texture2D(sampler, texCoord0) *
- clamp(dot(-lightDirection, normal0), 0.0, 1.0);
-}