mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 03:26:17 +00:00
refactor: make the whole thing more generic
This commit is contained in:
14
modules/home-manager/desktops/hyprland/hypr/shaders/nothing.frag
Executable file
14
modules/home-manager/desktops/hyprland/hypr/shaders/nothing.frag
Executable file
@@ -0,0 +1,14 @@
|
||||
// vim: set ft=glsl:
|
||||
// blue light filter shader
|
||||
// values from https://reshade.me/forum/shader-discussion/3673-blue-light-filter-similar-to-f-lux
|
||||
|
||||
precision mediump float;
|
||||
varying vec2 v_texcoord;
|
||||
uniform sampler2D tex;
|
||||
|
||||
void main() {
|
||||
|
||||
vec4 pixColor = texture2D(tex, v_texcoord);
|
||||
|
||||
gl_FragColor = pixColor;
|
||||
}
|
||||
Reference in New Issue
Block a user