mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 23:22:24 +00: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;
|
||
|
}
|