summaryrefslogtreecommitdiffstats
path: root/cwd/shaders/simple.fs
diff options
context:
space:
mode:
Diffstat (limited to 'cwd/shaders/simple.fs')
-rw-r--r--cwd/shaders/simple.fs15
1 files changed, 15 insertions, 0 deletions
diff --git a/cwd/shaders/simple.fs b/cwd/shaders/simple.fs
new file mode 100644
index 0000000..cc7f812
--- /dev/null
+++ b/cwd/shaders/simple.fs
@@ -0,0 +1,15 @@
+#version 330 core
+in vec2 TexCoord;
+
+out vec4 color;
+
+uniform sampler2D blockTexture;
+uniform int block;
+uniform float time;
+
+void main()
+{
+ color = texture(blockTexture,TexCoord);
+ //color = vec4(TexCoord.x,TexCoord.y,0.0,1.0);
+}
+