summaryrefslogtreecommitdiff
path: root/terrain_vertex.glsl
blob: 8bb21d0ee6fb66410a7bb61460ebc982598fc044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
varying vec3 normal, light_pos, V, N;
varying vec4 diffuse, ambient;

void main() {
	normal = gl_Normal;
	light_pos = vec3(0, 1, 0);

	gl_TexCoord[0] = gl_MultiTexCoord0;
	gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
}

/* vim: set syn=glsl: */