varying vec2 v_texCoord;
varying vec4 v_fragmentColor;

uniform vec3 u_Color1;
uniform vec3 u_targetColor;
uniform vec3 u_changeColor;
uniform sampler2D u_texture;

void main()
{
    vec4 c = texture2D(u_texture, v_texCoord);
    vec4 white = vec4(1.0, 1.0, 1.0, 1.0) * CC_Time[0];
    gl_FragColor = c * white;
//    if (c.r != u_targetColor.r && c.g != u_targetColor.g && c.b != u_targetColor.b) {
//        gl_FragColor = u_Color2;
//        gl_FragColor = vec4(u_Color1, 1.0);
//        gl_FragColor = v_fragmentColor * texture2D(CC_Texture0, v_texCoord);
//        gl_FragColor = vec4(u_changeColor, 1.0);
//        gl_FragColor = vec4(0.0, .5, 0.5, 1.0);
//    }else{
//        gl_FragColor = v_fragmentColor * texture2D(CC_Texture0, v_texCoord);
//    }
}
