]> git.sesse.net Git - movit/blob - white_balance_effect.frag
Make the ResourcePool hold FBOs as a per-context resource.
[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 }