diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-02-08 21:09:30 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-02-08 21:09:30 +0400 |
commit | b6d12f11fedd9544429745c13381d36ed6d20e8c (patch) | |
tree | 3425e64db52ec0a2dff260f4ddcf585b9c817026 /build_files/scons | |
parent | 8e81da423c403c65faa3adefc499c9047e357b8e (diff) |
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.
Diffstat (limited to 'build_files/scons')
0 files changed, 0 insertions, 0 deletions