Files
nterm/res/shaders/imgui.frag.glsl
2022-06-30 06:38:54 +04:00

13 lines
201 B
GLSL
Executable File

#version 410
uniform sampler2D Texture;
in vec2 Frag_UV;
in vec4 Frag_Color;
out vec4 Out_Color;
void main()
{
Out_Color = vec4(Frag_Color.rgb, Frag_Color.a * texture(Texture, Frag_UV.st).r);
}