summaryrefslogtreecommitdiff
path: root/shaders/yofrankie/13.vert
blob: 110d8469b46f4af3b97ae8b73c3694ba8ce1d52b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


varying vec3 varposition;
varying vec3 varnormal;

void main()
{
	vec4 co = gl_ModelViewMatrix * gl_Vertex;

	varposition = co.xyz;
	varnormal = gl_NormalMatrix * gl_Normal;
	gl_Position = gl_ProjectionMatrix * co;

}