X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=vignette_effect.h;fp=vignette_effect.h;h=6caff3616cdaff6d732e34107edc04f0e700d94f;hp=0000000000000000000000000000000000000000;hb=f4516cf70e80bf1153759919c8b2ab1cee37d9ec;hpb=bc5560403f4e43d1a32e5e8d94bca68922647779 diff --git a/vignette_effect.h b/vignette_effect.h new file mode 100644 index 0000000..6caff36 --- /dev/null +++ b/vignette_effect.h @@ -0,0 +1,18 @@ +#ifndef _VIGNETTE_EFFECT_H +#define _VIGNETTE_EFFECT_H 1 + +#include "effect.h" + +class VignetteEffect : public Effect { +public: + VignetteEffect(); + std::string output_glsl(); + + void set_uniforms(GLhandleARB glsl_program_num, const std::string &prefix); + +private: + Point2D center; + float radius, inner_radius; +}; + +#endif // !defined(_VIGNETTE_EFFECT_H)