summaryrefslogtreecommitdiff
path: root/shaders/terrain_vertex.glsl
blob: 5fcd17b78d2ca64620ba10871337b4751866b371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 120

varying vec3 normal, light_pos, pos;

void main() {
	normal = gl_Normal;
	light_pos = vec3(0, 1, 0);
	pos = gl_Vertex.xyz;

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

/* vim: set syn=glsl: */