Actually set all the right uniforms, so we have a picture on screen.
[movit] / lift_gamma_gain_effect.h
1 #ifndef _LIFT_GAMMA_GAIN_EFFECT_H
2 #define _LIFT_GAMMA_GAIN_EFFECT_H 1
3
4 #include "effect.h"
5
6 class LiftGammaGainEffect : public Effect {
7 public:
8         LiftGammaGainEffect();
9         std::string output_glsl();
10
11         void set_uniforms(GLhandleARB glsl_program_num, const std::string &prefix);
12
13 private:
14         RGBTriplet lift, gamma, gain;
15         float saturation;
16 };
17
18 #endif // !defined(_LIFT_GAMMA_GAIN_EFFECT_H)