aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/shadow_shaders/pass2_vertex.glsl
blob: ac445c9c7981460ee3cf97787a55877a8885672a (plain)
1
2
3
4
5
6
7
8
9

void main()
{
	vec4 uv = vec4(gl_Vertex.xyz, 1.0) * 0.5 + 0.5;
	gl_TexCoord[0] = uv;
	gl_TexCoord[1] = uv;
	gl_TexCoord[2] = uv;
	gl_Position = vec4(gl_Vertex.xyz, 1.0);
}