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 virtual std::string effect_type_id() const { return "MixEffect"; }
12 std::string output_fragment_shader();
14 virtual bool needs_srgb_primaries() const { return false; }
15 virtual unsigned num_inputs() const { return 2; }
18 float strength_first, strength_second;
21 #endif // !defined(_MIX_EFFECT_H)