Squash linear gamma back into the sRGB curve at the end.
[movit] / lift_gamma_gain_effect.cpp
index 5c83854..eef04d5 100644 (file)
@@ -1,4 +1,5 @@
 #include "lift_gamma_gain_effect.h"
+#include "util.h"
 
 LiftGammaGainEffect::LiftGammaGainEffect()
        : lift(0.0f, 0.0f, 0.0f),
@@ -11,3 +12,8 @@ LiftGammaGainEffect::LiftGammaGainEffect()
        register_vec3("gain", (float *)&gain);
        register_float("saturation", &saturation);
 }
+
+std::string LiftGammaGainEffect::output_glsl()
+{
+       return read_file("todo.glsl");
+}