mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
15 lines
317 B
GLSL
Executable File
15 lines
317 B
GLSL
Executable File
// 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;
|
|
}
|