in vec2 Texcoord;

OUTPUT

uniform bool textured;
uniform vec3 color;
uniform sampler2D tex;

void main() {
	if (textured) {
		outColor = texture(tex, Texcoord);
	} else {
		outColor = vec4(color, 1.0);
	}
}
