]> git.sesse.net Git - movit/blobdiff - header.glsl
Start actually piecing together the GLSL shaders from the effect chain.
[movit] / header.glsl
diff --git a/header.glsl b/header.glsl
new file mode 100644 (file)
index 0000000..274cb90
--- /dev/null
@@ -0,0 +1,9 @@
+uniform sampler2D input_tex;
+varying vec2 tc;
+
+vec4 read_input(vec2 tc)
+{
+       vec3 x = texture2D(input_tex, tc.st);
+}
+
+#define LAST_INPUT read_input