diff options
author | Merov Linden <merov@lindenlab.com> | 2014-01-03 15:44:29 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-01-03 15:44:29 -0800 |
commit | 35e30759c82e0fa425e2ee5ba235868a25b44169 (patch) | |
tree | c2a9e599e3ae5161b92fab170d5d41651700e3a1 /indra/llimage/llimage.h | |
parent | 1b5fb662927ac84606cf767c8c9ec350e82b656f (diff) |
ACME-1236 : WIP : Added a min value to vignette
Diffstat (limited to 'indra/llimage/llimage.h')
-rwxr-xr-x | indra/llimage/llimage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h index b9f6a12bdd..404f1c0769 100755 --- a/indra/llimage/llimage.h +++ b/indra/llimage/llimage.h @@ -170,6 +170,7 @@ protected: S32 mVignetteCenterY; S32 mVignetteWidth; F32 mVignetteGamma; + F32 mVignetteMin; public: static void generateMip(const U8 *indata, U8* mipdata, int width, int height, S32 nchannels); @@ -292,7 +293,7 @@ public: // Filter Primitives void colorTransform(const LLMatrix3 &transform); void colorCorrect(const U8* lut_red, const U8* lut_green, const U8* lut_blue); - void setVignette(EVignetteMode mode, F32 gamma); + void setVignette(EVignetteMode mode, F32 gamma, F32 min); U32* getBrightnessHistogram(); protected: |