X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=glow_effect.h;h=02520d7bd9ad8f87f38dd9c4365f63be9e85851f;hp=af833070558a05ce46e4aa5865516da0714cd740;hb=fbb1247a1996c6dbe54114eb5cc23dc79e17099c;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2 diff --git a/glow_effect.h b/glow_effect.h index af83307..02520d7 100644 --- a/glow_effect.h +++ b/glow_effect.h @@ -4,7 +4,7 @@ // 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 @@ -52,6 +52,7 @@ public: std::string output_fragment_shader(); virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } + virtual bool one_to_one_sampling() const { return true; } private: float cutoff;