2020-10-25 18:01:03 +01:00
|
|
|
varying lowp vec4 varColor;
|
|
|
|
varying mediump vec2 varTexCoord;
|
2016-03-25 15:57:18 +01:00
|
|
|
|
|
|
|
void main(void)
|
|
|
|
{
|
2020-10-25 18:01:03 +01:00
|
|
|
varTexCoord = inTexCoord0.st;
|
|
|
|
gl_Position = mWorldViewProj * inVertexPosition;
|
2016-03-25 15:57:18 +01:00
|
|
|
|
2021-05-08 20:18:29 +02:00
|
|
|
#ifdef GL_ES
|
|
|
|
varColor = inVertexColor.bgra;
|
|
|
|
#else
|
2020-10-25 18:01:03 +01:00
|
|
|
varColor = inVertexColor;
|
2021-05-08 20:18:29 +02:00
|
|
|
#endif
|
2016-03-25 15:57:18 +01:00
|
|
|
}
|