diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-05-24 10:16:05 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-05-24 10:16:05 +0400 |
commit | 5f677f995d204c378f7aad3de826b2e193276487 (patch) | |
tree | 6ae6b2d5a64c02002ff68acab9aa4aa66f818b2d | |
parent | c52a85fa7b1c16fa086aba8e81c69f21ba79259c (diff) |
* removed clamp from color correction
-rw-r--r-- | source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp b/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp index 45750244d87..af28b776892 100644 --- a/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp +++ b/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp @@ -98,9 +98,6 @@ void ColorCorrectionOperation::executePixel(float *output, float x, float y, Pix r = (luma + saturation * (r - luma)); g = (luma + saturation * (g - luma)); b = (luma + saturation * (b - luma)); - CLAMP (r, 0.0f, 1.0f); - CLAMP (g, 0.0f, 1.0f); - CLAMP (b, 0.0f, 1.0f); r = 0.5+((r-0.5)*contrast); g = 0.5+((g-0.5)*contrast); |