X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fcolorcurve.h;h=5cebcb00835e818fe2b44a303928b2b502c149f4;hb=083a8227715fa32c841fc2b8126e4ab8d2840ba0;hp=3ccfbf76b00d8c99493d63394ee2e59dad796fdc;hpb=1863f17c5c5563be8492d7f01e5c613a740ea1e9;p=libs%2Fgl.git diff --git a/source/effects/colorcurve.h b/source/effects/colorcurve.h index 3ccfbf76..5cebcb00 100644 --- a/source/effects/colorcurve.h +++ b/source/effects/colorcurve.h @@ -2,13 +2,14 @@ #define MSP_GL_COLORCURVE_H_ #include "postprocessor.h" -#include "program.h" #include "programdata.h" #include "texture1d.h" namespace Msp { namespace GL { +class Program; + /** Processes oversaturated colors to preserve hues. When one color component exceeds 1.0, the overflow is distributed to the other components, scaling the @@ -33,12 +34,10 @@ public: void srgb(); }; - float exposure_adjust; - float brightness_response; - float gamma; - bool srgb; - - Template(); + float exposure_adjust = 0.0f; + float brightness_response = 0.4f; + float gamma = 1.0f; + bool srgb = false; virtual ColorCurve *create(unsigned, unsigned) const; };