mirror of https://github.com/axmolengine/axmol.git
13 lines
208 B
Plaintext
13 lines
208 B
Plaintext
|
#ifdef GL_ES
|
||
|
varying mediump vec2 TextureCoordOut;
|
||
|
#else
|
||
|
varying vec2 TextureCoordOut;
|
||
|
#endif
|
||
|
uniform vec4 u_color;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
gl_FragColor = texture2D(CC_Texture0, TextureCoordOut) * u_color;
|
||
|
}
|
||
|
|