uniform sampler2D u_texture;
varying vec2 v_texCoord;
 
 void main()
 {	

	vec4 color = texture2D(u_texture, v_texCoord);
	
	if(color.g > 0.4)
	{
		color = vec4(0,0.4,0,0.4);
	}
	else if(color.r > 0.4)
	{
		color = vec4(0.4,0,0,0.4);
	}

	gl_FragColor = color;
}



