]> git.sesse.net Git - movit/blobdiff - lift_gamma_gain_effect.h
Try to adjust the mip levels to get box blur for free as needed.
[movit] / lift_gamma_gain_effect.h
index 26eb583f3489f0c1101db3dec461bc37a4cfe9a4..6364eeb00b6c41b79f894b1da231cb44cdfac240 100644 (file)
@@ -6,11 +6,12 @@
 class LiftGammaGainEffect : public Effect {
 public:
        LiftGammaGainEffect();
-       std::string output_glsl();
+       std::string output_fragment_shader();
+
+       void set_uniforms(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);
 
 private:
        RGBTriplet lift, gamma, gain;
-       float saturation;
 };
 
 #endif // !defined(_LIFT_GAMMA_GAIN_EFFECT_H)