xtreemtest/client/shaders/selection_shader/opengl_vertex.glsl

15 lines
250 B
Plaintext
Raw Normal View History

2022-10-08 23:16:13 +02:00
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
}