X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=glow_effect.h;h=3453c997d82ee2938b987089774b2a5677309bde;hp=8b21e521a9449979aae90ad7df14ef903f8c6b34;hb=c208d2719d48f7676d73b6f406f2417ec147acae;hpb=020ba675b7be6ceeb284be91039efc0dc0986227 diff --git a/glow_effect.h b/glow_effect.h index 8b21e52..3453c99 100644 --- a/glow_effect.h +++ b/glow_effect.h @@ -4,11 +4,17 @@ // Glow: Cut out the highlights of the image (everything above a certain threshold), // blur them, and overlay them onto the original image. +#include +#include +#include + #include "effect.h" class BlurEffect; -class MixEffect; +class EffectChain; class HighlightCutoffEffect; +class MixEffect; +class Node; class GlowEffect : public Effect { public: @@ -42,6 +48,8 @@ public: HighlightCutoffEffect(); virtual std::string effect_type_id() const { return "HighlightCutoffEffect"; } std::string output_fragment_shader(); + + virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } private: float cutoff;