mpv-conf/shaders/color-alt_luma.glsl

12 lines
152 B
Text
Raw Permalink Normal View History

2021-12-03 20:50:08 +08:00
//!DESC color-alt_luma (Black & White)
//!HOOK LUMA
//!BIND HOOKED
vec4 hook()
{
float color = LUMA_texOff(0).x;
return vec4(1.0 - color);
}