+// An effect that cuts out only the highlights of an image;
+// anything at the cutoff or below is set to 0.0, and then all other pixels
+// get the cutoff subtracted. Used only as part of GlowEffect.
+
+class HighlightCutoffEffect : public Effect {
+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;
+};
+
+} // namespace movit
+
+#endif // !defined(_MOVIT_GLOW_EFFECT_H)