]> git.sesse.net Git - movit/blob - gamma_expansion_effect.frag
A small comment fix in ColorspaceConversionEffect.
[movit] / gamma_expansion_effect.frag
1 // Expand sRGB gamma curve.
2
3 vec4 FUNCNAME(vec2 tc) {
4         vec4 x = INPUT(tc);
5
6         x.r = texture1D(PREFIX(expansion_curve_tex), x.r).x;
7         x.g = texture1D(PREFIX(expansion_curve_tex), x.g).x;
8         x.b = texture1D(PREFIX(expansion_curve_tex), x.b).x;
9
10         return x;
11 }