mpv-conf/shaders/color-alt_luma.glsl
2021-12-03 20:50:08 +08:00

11 lines
152 B
GLSL

//!DESC color-alt_luma (Black & White)
//!HOOK LUMA
//!BIND HOOKED
vec4 hook()
{
float color = LUMA_texOff(0).x;
return vec4(1.0 - color);
}