File: yuv.vert

package info (click to toggle)
sludge 2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,820 kB
  • sloc: cpp: 31,960; sh: 1,037; xml: 874; makefile: 672
file content (12 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
attribute vec4 myVertex;
attribute vec2 myUV0;

uniform mat4 myPMVMatrix;

varying vec2 varCoord;

void main()
{
	gl_Position = myPMVMatrix * myVertex;
	varCoord = myUV0.st;
}