12 lines
280 B
GLSL
12 lines
280 B
GLSL
#version 450
|
|
|
|
layout (location = 0) in vec2 inTextCoords;
|
|
layout (location = 1) in vec4 inColor;
|
|
|
|
layout (binding = 0) uniform sampler2D fontsSampler;
|
|
|
|
layout (location = 0) out vec4 outFragColor;
|
|
|
|
void main() {
|
|
outFragColor = inColor * texture(fontsSampler, inTextCoords);
|
|
}
|