sussycraft-engine/client/shaders/default_shader/opengl_vertex.glsl

12 lines
184 B
Plaintext
Raw Normal View History

2023-02-19 21:41:32 +01:00
varying lowp vec4 varColor;
void main(void)
{
gl_Position = mWorldViewProj * inVertexPosition;
#ifdef GL_ES
varColor = inVertexColor.bgra;
#else
varColor = inVertexColor;
#endif
}