mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
added gles3 impl
This commit is contained in:
parent
00c96e3ac0
commit
78bffc2df5
21 changed files with 190 additions and 25 deletions
13
render/gles/shaders/gles3_tex_rgba.frag
Normal file
13
render/gles/shaders/gles3_tex_rgba.frag
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 300 es
|
||||
|
||||
precision highp float;
|
||||
|
||||
in vec2 v_texcoord;
|
||||
uniform sampler2D tex;
|
||||
uniform float alpha;
|
||||
|
||||
out vec4 frag_color;
|
||||
|
||||
void main() {
|
||||
frag_color = texture(tex, v_texcoord) * alpha;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue