mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-15 02:28:24 +00:00
c4001c727a
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
16 lines
217 B
GLSL
16 lines
217 B
GLSL
#version 300 es
|
|
|
|
in highp vec2 uv;
|
|
out highp vec4 color;
|
|
|
|
uniform sampler2D sampler1;
|
|
uniform int nv;
|
|
uniform highp float nvGain;
|
|
|
|
void main()
|
|
{
|
|
color = texture(sampler1, uv);
|
|
if (nv == 1)
|
|
color *= nvGain;
|
|
}
|