WarHorse/resources/EngineResources/GuiShaders/gui_frag.glsl
2026-06-12 16:06:43 +01:00

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);
}