mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
20 lines
286 B
GLSL
20 lines
286 B
GLSL
//
|
|
// Example blue light filter shader.
|
|
//
|
|
|
|
#version 300 es
|
|
|
|
precision mediump float;
|
|
in vec2 v_texcoord;
|
|
layout(location = 0) out vec4 fragColor;
|
|
uniform sampler2D tex;
|
|
|
|
void main() {
|
|
|
|
vec4 pixColor = texture(tex, v_texcoord);
|
|
|
|
pixColor[2] *= 0.8;
|
|
|
|
fragColor = pixColor;
|
|
}
|