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