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