wlroots/render/gles/shaders/gles3_tex_rgbx.frag

14 lines
207 B
GLSL
Raw Normal View History

2025-10-27 00:58:07 -04:00
#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;
}