Start actually piecing together the GLSL shaders from the effect chain.
[movit] / gamma_expansion_effect.cpp
1 #include "gamma_expansion_effect.h"
2 #include "util.h"
3
4 GammaExpansionEffect::GammaExpansionEffect()
5         : source_curve(GAMMA_LINEAR)
6 {
7         register_int("source_curve", (int *)&source_curve);
8 }
9
10 std::string GammaExpansionEffect::output_glsl()
11 {
12         return read_file("todo.glsl");
13 }