mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-09 15:05:58 +01:00
b62ce3c3c8
Signed-off-by: Joshua Ashton <joshua@froggi.es>
16 lines
301 B
GLSL
16 lines
301 B
GLSL
#version 450
|
|
|
|
layout(set = 0, binding = 0) uniform sampler2D tex;
|
|
|
|
layout(location = 0) in vec2 uv;
|
|
layout(location = 0) out vec4 out_color;
|
|
|
|
layout(push_constant) uniform UBO {
|
|
layout(offset = 80) float alpha;
|
|
} data;
|
|
|
|
void main() {
|
|
out_color = textureLod(tex, uv, 0);
|
|
out_color *= data.alpha;
|
|
}
|
|
|