#include "ccParamIO.glsl" #ifdef OPENGL_ES precision lowp float; #endif varying vec4 v_fragmentColor; varying vec2 v_texCoord; uniform vec4 u_color; void main() { vec4 texColor = v_fragmentColor * texture2D(CC_Texture0, v_texCoord); gl_FragColor = texColor + u_color * texColor.a; }