wlroots/render/gles/shaders/gles3_tex_rgbx.frag
2025-10-27 01:14:02 -04:00

13 lines
207 B
GLSL

#version 300 es
precision highp float;
in vec2 v_texcoord;
uniform sampler2D tex;
uniform float alpha;
out vec4 frag_color;
void main() {
frag_color = vec4(texture(tex, v_texcoord).rgb, 1.0) * alpha;
}