Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2011-12-02 20:57:37 +0400
committerDalai Felinto <dfelinto@gmail.com>2011-12-02 20:57:37 +0400
commit4fd273648767a736f79acd3edc3d7f332129b46f (patch)
tree4f37b89622cd0e422c7b1579197b838ab852ce32 /intern/cycles/kernel/svm/svm.h
parentf96aad6688a695c692e9f784314d8eb4e169e6da (diff)
HSV Color Node for Cycles
......................... note, the OSL code has a problem. In the original node the input and output nodes have the same name (Color). So this will be fixed here once Brecht come up with a nice autorenaming (or we do a doversion patch) for that.
Diffstat (limited to 'intern/cycles/kernel/svm/svm.h')
-rw-r--r--intern/cycles/kernel/svm/svm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/kernel/svm/svm.h b/intern/cycles/kernel/svm/svm.h
index 3073aefc272..004875b0de5 100644
--- a/intern/cycles/kernel/svm/svm.h
+++ b/intern/cycles/kernel/svm/svm.h
@@ -127,6 +127,7 @@ CCL_NAMESPACE_END
#include "svm_displace.h"
#include "svm_fresnel.h"
#include "svm_geometry.h"
+#include "svm_hsv.h"
#include "svm_image.h"
#include "svm_light_path.h"
#include "svm_magic.h"
@@ -261,6 +262,9 @@ __device_noinline void svm_eval_nodes(KernelGlobals *kg, ShaderData *sd, ShaderT
case NODE_COMBINE_RGB:
svm_node_combine_rgb(sd, stack, node.y, node.z, node.w);
break;
+ case NODE_HSV:
+ svm_node_hsv(kg, sd, stack, node.y, node.z, node.w, &offset);
+ break;
case NODE_ATTR:
svm_node_attr(kg, sd, stack, node);
break;