summaryrefslogtreecommitdiff
path: root/data/graphics/shaders/texture_frag.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'data/graphics/shaders/texture_frag.glsl')
-rw-r--r--data/graphics/shaders/texture_frag.glsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/graphics/shaders/texture_frag.glsl b/data/graphics/shaders/texture_frag.glsl
new file mode 100644
index 000000000..7eac7771e
--- /dev/null
+++ b/data/graphics/shaders/texture_frag.glsl
@@ -0,0 +1,8 @@
+#version 150 core
+in vec2 Texcoord;
+out vec4 outColor;
+uniform sampler2D tex;
+void main()
+{
+ outColor = texture(tex, Texcoord);
+}