mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
13 lines
202 B
GLSL
13 lines
202 B
GLSL
#version 330 core
|
|
|
|
in vec2 TexCoords;
|
|
in vec4 VertexColor;
|
|
|
|
uniform sampler2D text;
|
|
|
|
void main()
|
|
{
|
|
float a = texture(text, TexCoords).r;
|
|
gl_FragColor = vec4(VertexColor.rgb, VertexColor.a*a);
|
|
}
|