Blender Git Commit Log
Git Commits -> Revision b6d12f1
Revision b6d12f1 by Brecht Van Lommel (master) February 8, 2012, 17:09 (GMT) |
Fix #30004: cycles brightness/contrast node issues. The formula used did not work very well for colors that can be outside of the 0.0..1.0 range, giving +/- infinity results. Now we just use a simple linear contrast factor as proposed by Paolo Sourvinos, and clamp values to be >= 0, and also make the parameters work more in the 0..1 range instead of the 0..100 range, to be more consistent with other nodes. |
Commit Details:
Full Hash: b6d12f11fedd9544429745c13381d36ed6d20e8c
SVN Revision: 43991
Parent Commit: 8e81da4
Lines Changed: +5, -21
1 Modified Path:
/intern/cycles/kernel/svm/svm_brightness.h (+5, -21) (Diff)