1
0
Vitaliy c123af8fc6 Shader support for OpenGL ES 2 devices
Co-authored-by: sfan5 <sfan5@live.de>
2021-02-28 14:57:34 +01:00

12 lines
213 B
GLSL

uniform mat4 mWorld;
varying lowp vec4 varColor;
varying mediump vec2 varTexCoord;
void main(void)
{
varTexCoord = inTexCoord0.st;
gl_Position = mWorldViewProj * inVertexPosition;
varColor = inVertexColor;
}