]> git.sesse.net Git - movit/blob - white_balance_effect.frag
Simplify the refocus shader a bit.
[movit] / white_balance_effect.frag
1 uniform mat3 PREFIX(correction_matrix);
2
3 vec4 FUNCNAME(vec2 tc) {
4         vec4 ret = INPUT(tc);
5         ret.rgb = PREFIX(correction_matrix) * ret.rgb;
6         return ret;
7 }