]> git.sesse.net Git - movit/blobdiff - texture1d.frag
Make the initializing functions also drop fixed function usage.
[movit] / texture1d.frag
diff --git a/texture1d.frag b/texture1d.frag
new file mode 100644 (file)
index 0000000..4f8b981
--- /dev/null
@@ -0,0 +1,7 @@
+uniform sampler1D tex;
+varying vec2 tc;
+
+void main()
+{
+       gl_FragColor = texture1D(tex, tc.x);
+}