aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/minimap_shader/opengl_vertex.glsl
blob: b23d271814a117fdb305c463dcd9b8be54ccb0a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
uniform mat4 mWorld;

varying lowp vec4 varColor;
varying mediump vec2 varTexCoord;

void main(void)
{
	varTexCoord = inTexCoord0.st;
	gl_Position = mWorldViewProj * inVertexPosition;
#ifdef GL_ES
	varColor = inVertexColor.bgra;
#else
	varColor = inVertexColor;
#endif
}