]> git.sesse.net Git - movit/blobdiff - texture1d.150.frag
Add separate shaders for GLSL 1.50.
[movit] / texture1d.150.frag
diff --git a/texture1d.150.frag b/texture1d.150.frag
new file mode 100644 (file)
index 0000000..8fd18a9
--- /dev/null
@@ -0,0 +1,11 @@
+#version 150
+
+uniform sampler2D tex;
+in vec2 tc;
+
+out vec4 FragColor;
+
+void main()
+{
+       FragColor = texture(tex, tc);  // Second component is irrelevant.
+}