summaryrefslogtreecommitdiff
path: root/shaders/yofrankie/16.vert
blob: 63a4cde13e57a2ee915bb53601f80327c4b62e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
attribute vec4 att0;
varying vec4 var0;
attribute vec2 att1;
varying vec2 var1;


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;

	var0 = att0;
	var1 = att1;
}