uniform sampler2D texture0;

void main()
{
	//Simple passthrough, outputs interpolated vertex colours.
	vec4 textureColour = texture2D(texture0, gl_TexCoord[0].xy);
	
	gl_FragColor = vec4(gl_Color.r + 0.15, gl_Color.g + 0.15, gl_Color.b + 0.15, gl_Color.a) * textureColour;
	//gl_FragColor = vec4 (gl_TexCoord[0].xy, 0.0, 1.0);
}