This website requires JavaScript.
Explore
Help
Sign In
Mirrored_Repos
/
LookingGlass
Watch
1
Star
0
Fork
0
You've already forked LookingGlass
mirror of
https://github.com/gnif/LookingGlass.git
synced
2024-11-26 23:37:18 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
fdbdf6f167
LookingGlass
/
client
/
renderers
/
EGL
/
shader
/
help_bg.frag
9 lines
92 B
GLSL
Raw
Normal View
History
Unescape
Escape
[client] renderer/egl: implement support for rendering help text The help text is rendered in the bottom left corner on a semi-transparent background, very similar to how the FPS text is rendered.
2021-01-30 22:06:57 +00:00
#version 300 es
out
highp
vec4
color
;
void
main
(
)
{
[client] egl: create 24-bit colour context This should prevent the looking-glass-client window from having an alpha channel. On Wayland, the alpha channel is used to compose the window onto the desktop, so the wallpaper would bleed through unless set to complete opaque. We worked around this by using constant alpha for rendering, but it was not sustainable. Instead, we should just ask for 24-bit context.
2021-01-31 04:56:12 +00:00
color
=
vec4
(
0.0
,
0.0
,
1.0
,
0.5
)
;
[client] renderer/egl: implement support for rendering help text The help text is rendered in the bottom left corner on a semi-transparent background, very similar to how the FPS text is rendered.
2021-01-30 22:06:57 +00:00
}
Reference in New Issue
Copy Permalink