]> git.sesse.net Git - movit/blobdiff - highlight_cutoff_effect.frag
Add a high-cutoff filter to the glow effect.
[movit] / highlight_cutoff_effect.frag
diff --git a/highlight_cutoff_effect.frag b/highlight_cutoff_effect.frag
new file mode 100644 (file)
index 0000000..cb76630
--- /dev/null
@@ -0,0 +1,3 @@
+vec4 FUNCNAME(vec2 tc) {
+       return max(INPUT(tc) - vec4(PREFIX(cutoff)), 0.0);
+}