LNXSDK/Kha/Sources/Shaders/painter-text.frag.glsl

11 lines
207 B
Plaintext
Raw Normal View History

2025-01-22 16:18:30 +01:00
#version 450
uniform sampler2D tex;
in vec2 texCoord;
in vec4 fragmentColor;
out vec4 FragColor;
void main() {
FragColor = vec4(fragmentColor.rgb, texture(tex, texCoord).r * fragmentColor.a);
}