]> git.sesse.net Git - movit/blob - texture1d.frag
Do not store RGB textures with RGBA internal format.
[movit] / texture1d.frag
1 #ifdef GL_ES
2 precision highp float;
3 #endif
4
5 uniform sampler2D tex;
6 varying vec2 tc;
7
8 void main()
9 {
10         gl_FragColor = texture2D(tex, tc);  // Second component is irrelevant.
11 }