#version 450

layout(location = 0) in vec2 fragTexCoord;
layout(location = 1) in vec4 fragColor;
layout(location = 0) out vec4 outColor;
layout(binding = 0) uniform sampler2D fontTexture;

void main() {
    vec4 texColor = texture(fontTexture, fragTexCoord);
    outColor = vec4(texColor.rgb * fragColor.rgb, texColor.a);
}
