2024-10-13 22:18:37 -06:00
|
|
|
#version 450
|
|
|
|
|
|
|
|
layout(set = 1, binding = 1) uniform sampler2D font;
|
|
|
|
|
|
|
|
layout(location = 0) in vec4 fragColor;
|
|
|
|
layout(location = 1) in vec2 fragUV;
|
|
|
|
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
|
|
|
|
|
|
void main() {
|
2024-10-14 01:00:10 -06:00
|
|
|
outColor = fragColor * texture(font, fragUV);
|
2024-10-13 22:18:37 -06:00
|
|
|
}
|
|
|
|
|