File: blit.frag

package info (click to toggle)
megapixels 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,876 kB
  • sloc: ansic: 6,530; python: 442; xml: 367; sh: 116; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifdef GL_ES
precision mediump float;
#endif

uniform sampler2D texture;

varying vec2 uv;

void
main()
{
        gl_FragColor = vec4(texture2D(texture, uv).rgb, 1);
}