#ifdef GL_ES
precision mediump float;
#endif
 
varying vec2 v_texCoord;
varying vec4 v_fragmentColor;

uniform float u_value;
 
void main()
{
  vec4 color = texture2D( CC_Texture0, v_texCoord );
  vec4 fragmentColor = v_fragmentColor;

  float a = color.a * u_value;
  gl_FragColor = vec4( color.rgb, a );
}