In ResampleEffect, precompute the Lanczos function into a table.
[movit] / mirror_effect.frag
1 // Mirrors the image horizontally.
2 vec4 FUNCNAME(vec2 tc)
3 {
4         tc.x = 1.0 - tc.x;
5         return INPUT(tc);
6 }