mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 13:06:00 +01:00
17 lines
239 B
GLSL
17 lines
239 B
GLSL
|
//
|
||
|
// Example blue light filter shader.
|
||
|
//
|
||
|
|
||
|
precision mediump float;
|
||
|
varying vec2 v_texcoord;
|
||
|
uniform sampler2D tex;
|
||
|
|
||
|
void main() {
|
||
|
|
||
|
vec4 pixColor = texture2D(tex, v_texcoord);
|
||
|
|
||
|
pixColor[2] *= 0.8;
|
||
|
|
||
|
gl_FragColor = pixColor;
|
||
|
}
|