2 #define _MIX_EFFECT_H 1
4 // Combine two images: a*x + b*y. (If you set a within [0,1] and b=1-a, you will get a fade.)
8 class MixEffect : public Effect {
11 std::string output_fragment_shader();
13 virtual bool needs_srgb_primaries() const { return false; }
14 virtual unsigned num_inputs() const { return 2; }
17 float strength_first, strength_second;
20 #endif // !defined(_MIX_EFFECT_H)