aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/default_shader/opengl_vertex.glsl
blob: a908ac953fb3137f152131559af32bdf49f7ea1a (plain)
1
2
3
4
5
6
7
8
9
10
11
varying lowp vec4 varColor;

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