//milkyway

#version 420
#pragma debug(on)
#pragma optimize(off)

layout (binding=0, set=1) uniform sampler2D texunit0;

layout (push_constant) uniform ubo {
	layout (offset=64) float cmag;
};

layout (location=0) in vec2 TexCoord;

layout (location=0) out vec4 FragColor;

void main(void)
{
	vec4 color = texture(texunit0,TexCoord);
	color.a *= cmag;
	FragColor = color;
}
