summaryrefslogtreecommitdiff
path: root/client/shaders/selection_shader/opengl_fragment.glsl
blob: c679d0e12cd0be4abd817be8827c8f69c8451239 (plain)
1
2
3
4
5
6
7
8
9
uniform sampler2D baseTexture;

void main(void)
{
	vec2 uv = gl_TexCoord[0].st;
	vec4 color = texture2D(baseTexture, uv);
	color.rgb *= gl_Color.rgb;
	gl_FragColor = color;
}