mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
9 lines
178 B
GLSL
9 lines
178 B
GLSL
|
|
precision mediump float;
|
||
|
|
varying vec2 v_texcoord;
|
||
|
|
uniform sampler2D tex;
|
||
|
|
uniform float alpha;
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
gl_FragColor = vec4(texture2D(tex, v_texcoord).rgb, 1.0) * alpha;
|
||
|
|
}
|