]> git.sesse.net Git - movit/blob - highlight_cutoff_effect.frag
Add output size as a uniform to compute shaders, as an integer; not just the inverse...
[movit] / highlight_cutoff_effect.frag
1 vec4 FUNCNAME(vec2 tc) {
2         return max(INPUT(tc) - vec4(PREFIX(cutoff)), 0.0);
3 }