aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/texture.vert
blob: 40099af68f2894eee6bec763ff161a8205641601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
attribute vec4 myVertex;
attribute vec2 myUV0;

uniform mat4 myPMVMatrix;
uniform vec4 myColor;

varying vec2 varCoord;
varying vec4 color;

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