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

13 lines
234 B
GLSL

#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
varying vec2 v_texcoord;
uniform sampler2D tex;
uniform float alpha;
void main() {
gl_FragColor = texture2D(tex, v_texcoord) * alpha;
}