uniform sampler2D defaultTexture;

void main()
{
	vec4 texColour = vec4(texture2D(defaultTexture, gl_TexCoord[0].xy).rgb, 1);
	//Simple passthrough, outputs interpolated vertex colours.
	//gl_FragColor = vec4(gl_Color.r, gl_Color.g, gl_Color.b, gl_Color.a) * texColour;
	gl_FragColor = texColour;
}