X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=highlight_cutoff_effect.frag;fp=highlight_cutoff_effect.frag;h=cb76630bdc45417a0a44744e2d7b03e5527b058e;hp=0000000000000000000000000000000000000000;hb=771acfe782f3052bb7326ee7f066ed78657754b4;hpb=c19875219539e598eb364050ddbb12ae3c64ec31 diff --git a/highlight_cutoff_effect.frag b/highlight_cutoff_effect.frag new file mode 100644 index 0000000..cb76630 --- /dev/null +++ b/highlight_cutoff_effect.frag @@ -0,0 +1,3 @@ +vec4 FUNCNAME(vec2 tc) { + return max(INPUT(tc) - vec4(PREFIX(cutoff)), 0.0); +}