//
//  Shader.fsh
//  PlayMate
//
//  Created by David McKibbin on 5/21/12.
//  Copyright (c) 2012 Firaxis Games. All rights reserved.
//

varying lowp vec4 v_Color;
varying lowp vec2 v_TexUV;

uniform sampler2D BaseMap;

void main()
{
	gl_FragColor = v_Color * texture2D( BaseMap, v_TexUV );
	
	if (gl_FragColor.a < 0.1)  discard;	// Alpha test
}
