mirror of https://github.com/axmolengine/axmol.git
18 lines
473 B
C
18 lines
473 B
C
|
" \n\
|
||
|
attribute vec4 a_position; \n\
|
||
|
attribute vec2 a_texCoord; \n\
|
||
|
uniform mat4 u_MVPMatrix; \n\
|
||
|
\n\
|
||
|
#ifdef GL_ES \n\
|
||
|
varying mediump vec2 v_texCoord; \n\
|
||
|
#else \n\
|
||
|
varying vec2 v_texCoord; \n\
|
||
|
#endif \n\
|
||
|
\n\
|
||
|
void main() \n\
|
||
|
{ \n\
|
||
|
gl_Position = u_MVPMatrix * a_position; \n\
|
||
|
v_texCoord = a_texCoord; \n\
|
||
|
} \n\
|
||
|
";
|