2 #define _GLOW_EFFECT_H 1
4 // Glow: Simply add a blurred version of the image to itself.
11 class GlowEffect : public Effect {
14 virtual std::string effect_type_id() const { return "GlowEffect"; }
16 virtual bool needs_srgb_primaries() const { return false; }
18 virtual void add_self_to_effect_chain(EffectChain *chain, const std::vector<Effect *> &input);
19 virtual bool set_float(const std::string &key, float value);
21 virtual std::string output_fragment_shader() {
24 virtual void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num) {
33 #endif // !defined(_GLOW_EFFECT_H)