diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-29 16:14:08 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-29 16:14:08 +0300 |
commit | c5927cd97758baf3df30459d43dc7c6c488fc616 (patch) | |
tree | cd89cb5d5525eb5ac1c8c669e9c0ba8f02ece650 /intern/cycles/kernel/shaders/node_combine_hsv.osl | |
parent | f392f563970a3cd7d904da622ed65e401fde933f (diff) |
Revert "Fix T42888: Separate and Combine HSV distorts the hue value"
This reverts commit 1549fea9995c348bc14a9105df5e460644e2b33a.
After some further discussion with other developers in the team it becomes
clear there's no correct solution here. It is just more matter of what's
more convenient in particular case.
We're just going back to old code to avoid possible frustration with the
older files in newer blenders. This also means all HSV/HSL is considered
to be "linear" in the shading nodes.
Would be ported to 2.73 final.
Diffstat (limited to 'intern/cycles/kernel/shaders/node_combine_hsv.osl')
-rw-r--r-- | intern/cycles/kernel/shaders/node_combine_hsv.osl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/kernel/shaders/node_combine_hsv.osl b/intern/cycles/kernel/shaders/node_combine_hsv.osl index 8b3c3f0e839..6b922bf4e6b 100644 --- a/intern/cycles/kernel/shaders/node_combine_hsv.osl +++ b/intern/cycles/kernel/shaders/node_combine_hsv.osl @@ -15,7 +15,6 @@ */ #include "stdosl.h" -#include "node_color.h" shader node_combine_hsv( float H = 0.0, @@ -23,6 +22,6 @@ shader node_combine_hsv( float V = 0.0, output color Color = 0.8) { - Color = color_srgb_to_scene_linear(color("hsv", H, S, V)); + Color = color("hsv", H, S, V); } |