Blender Git Loki

Git Commits -> Revision f9688d8

Revision f9688d8 by Sergey Sharybin (master)
October 31, 2014, 13:58 (GMT)
Fix T42391: HSV correction shader node gives negative values

This mainly happens when over-saturating already saturated color.
After some discussion with Campbell and loads of tests we decided
to clamp the result RGB color. As an alternative we might want to
clamp corrected HSV values instead, but that would lead to some
larger changes in the render results.

TODO: The same is to be done for compositor nodes.

Commit Details:

Full Hash: f9688d88ff528e94e0ac059c6fc41a163fb0f6be
Parent Commit: a6a3989
Lines Changed: +10, -0

2 Modified Paths:

/intern/cycles/kernel/shaders/node_hsv.osl (+5, -0) (Diff)
/intern/cycles/kernel/svm/svm_hsv.h (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021