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 rewrite_graph(EffectChain *graph, Node *self);
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)