mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
13 lines
234 B
GLSL
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;
|
|
}
|