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