]> git.sesse.net Git - movit/blob - texture1d.130.frag
Add a notice to render_to_screen() that it might be suboptimal.
[movit] / texture1d.130.frag
1 #version 130
2
3 uniform sampler2D tex;
4 in vec2 tc;
5
6 out vec4 FragColor;
7
8 void main()
9 {
10         FragColor = texture(tex, tc);  // Second component is irrelevant.
11 }