blob: 39dde3056e959846e0ecceba5e438adc863ebc16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
}
|