mirror of
https://github.com/MCLx86/xtreemtest.git
synced 2024-11-25 03:32:14 +01:00
15 lines
250 B
GLSL
15 lines
250 B
GLSL
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
|
|
}
|