mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] egl: added new super+N binding to increase image gain
This feture is to allow the use of the key combination <super>+N to increase the brightness of the screen when using monitors with poor backlighting. Can help in some games. N = Night vision
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
in highp vec2 uv;
|
||||
out highp vec4 color;
|
||||
|
||||
uniform int nv;
|
||||
uniform highp float nvGain;
|
||||
|
||||
uniform sampler2D sampler1;
|
||||
uniform sampler2D sampler2;
|
||||
uniform sampler2D sampler3;
|
||||
@@ -24,4 +27,6 @@ void main()
|
||||
);
|
||||
|
||||
color = yuv * yuv_to_rgb;
|
||||
if (nv == 1)
|
||||
color *= nvGain;
|
||||
}
|
||||
|
Reference in New Issue
Block a user