1
0
Fork 0
mirror of https://github.com/dragonfireclient/dragonfireclient.git synced 2024-11-23 11:14:01 -05:00
dragonfireclient/client/shaders/default_shader/opengl_vertex.glsl
2021-05-11 21:15:39 +02:00

11 lines
184 B
GLSL

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