#version 120

uniform sampler2D texture;

varying vec2 texcoord;
varying vec4 tint;

void main() {
	vec3 color = texture2D(texture, texcoord).rgb * tint.rgb;

/* DRAWBUFFERS:0 */
	gl_FragData[0] = vec4(color, 1.0); //gcolor
}