]> git.sesse.net Git - movit/blob - texture1d.frag
Use the GL_RED texture format instead of GL_LUMINANCE.
[movit] / texture1d.frag
1 uniform sampler1D tex;
2 varying vec2 tc;
3
4 void main()
5 {
6         gl_FragColor = texture1D(tex, tc.x);
7 }