varying vec2 texCoord;
varying vec2 texCoord2;

uniform sampler2D colorMap;
uniform sampler2D fontMap;
uniform int abc;

uniform float alpha;
uniform float select;



void main (void)
{



	

    vec4 color1=texture2D(fontMap, texCoord);
    color1.r=1.0f-color1.r;
    color1.g=1.0f-color1.g;
    color1.b=1.0f-color1.b;
    vec4 color2=texture2D(colorMap, vec2(select,texCoord2.y));
    vec4 result=color1*color2; result.w=result.w*alpha;
	gl_FragColor = result;
	
	
	
}
