Update mpv config:

This commit is contained in:
aria 2025-05-26 00:03:04 +10:00
parent 64e685695e
commit d1e0b97d62
Signed by: aria
SSH key fingerprint: SHA256:WqtcVnDMrv1lnUlNah5k31iywFUI/DV+5yHzCTO4Vds
36 changed files with 5555 additions and 10 deletions

View file

@ -0,0 +1,21 @@
// invert the signal
//!HOOK OUTPUT
//!BIND HOOKED
//!DESC signal invert
float invert(float x, float w) {
return -x + w;
}
vec3 invert(vec3 x, float w) {
return -x + w;
}
vec4 hook() {
vec4 color = HOOKED_tex(HOOKED_pos);
color.rgb = invert(color.rgb, 1.0);
return color;
}