mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
15 lines
265 B
GLSL
15 lines
265 B
GLSL
#version 300 es
|
|
|
|
#extension GL_OES_EGL_image_external_essl3 : require
|
|
|
|
precision highp float;
|
|
|
|
in vec2 v_texcoord;
|
|
uniform samplerExternalOES texture0;
|
|
uniform float alpha;
|
|
|
|
out vec4 frag_color;
|
|
|
|
void main() {
|
|
frag_color = texture(texture0, v_texcoord) * alpha;
|
|
}
|