mirror of https://github.com/axmolengine/axmol.git
16 lines
286 B
GLSL
16 lines
286 B
GLSL
|
|||
const char* cc3D_PositionTex_vert = STRINGIFY(
|
|||
|
|||
attribute vec4 a_position;
|
|||
attribute vec2 a_texCoord;
|
|||
|
|||
varying vec2 TextureCoordOut;
|
|||
|
|||
void main(void)
|
|||
{
|
|||
gl_Position = CC_MVPMatrix * a_position;
|
|||
TextureCoordOut = a_texCoord;
|
|||
TextureCoordOut.y = 1.0 - TextureCoordOut.y;
|
|||
}
|
|||
);
|