1
0
Fork 0
mirror of https://github.com/hyprwm/Hyprland synced 2025-01-12 20:29:48 +01:00
Hyprland/example/screenShader.frag

17 lines
239 B
GLSL
Raw Normal View History

2022-12-01 14:36:07 +01:00
//
// 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;
}