]> git.sesse.net Git - movit/blob - header.frag
Allow an effect to have multiple inputs (although the graph still supports only one...
[movit] / header.frag
1 uniform sampler2D input_tex;
2 varying vec2 tc;
3
4 vec4 read_input(vec2 tc)
5 {
6         return texture2D(input_tex, tc.st);
7 }
8
9 #define INPUT read_input