X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fcolorcurve.h;h=ee19a56f3835fadb225b56e48016d4f23b272f1a;hb=55e3f2d494d939280a4ea48676fd17ca2342b457;hp=b99bb14e2bac432e89cc78abae5b8e1f7ceab059;hpb=9a63244c1342337915c4610401a24c09fa72cc3d;p=libs%2Fgl.git diff --git a/source/effects/colorcurve.h b/source/effects/colorcurve.h index b99bb14e..ee19a56f 100644 --- a/source/effects/colorcurve.h +++ b/source/effects/colorcurve.h @@ -5,7 +5,6 @@ #include "program.h" #include "programdata.h" #include "texture1d.h" -#include "texturing.h" namespace Msp { namespace GL { @@ -48,7 +47,6 @@ private: const Program &shprog; ProgramData shdata; Texture1D curve; - Texturing texturing; const Mesh &quad; const Sampler &linear_sampler; const Sampler &nearest_sampler; @@ -60,7 +58,9 @@ public: image, negative values darken it. Zero is neutral. */ void set_exposure_adjust(float); - /** Sets the exponent of the */ + /** Sets the exponent of the brightness response curve. It must be greater + than zero and at most one. A value of one gives a linear response; closer + to zero results in a more gentle curve. */ void set_brightness_response(float); /** Sets the gamma value used for mapping output colors. Allowed range is