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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-12-11 18:39:37 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-12-11 18:39:37 +0400
commit43c04eefe32773b708d85ea0db95564e71f4870e (patch)
treeadcbc13cd57ce4f48f7fc26e123e3ca11c71cb2c /intern/cycles/kernel/svm/svm.h
parent7c81952179f0ff08cfdd8f571eb1c0f06e224070 (diff)
Cycles: RGB and Vector Curves nodes now supported, with the limitation that the
range must be left to the default (0..1 and -1..1).
Diffstat (limited to 'intern/cycles/kernel/svm/svm.h')
-rw-r--r--intern/cycles/kernel/svm/svm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/kernel/svm/svm.h b/intern/cycles/kernel/svm/svm.h
index 9c79886fdca..ec7978066c2 100644
--- a/intern/cycles/kernel/svm/svm.h
+++ b/intern/cycles/kernel/svm/svm.h
@@ -398,6 +398,9 @@ __device_noinline void svm_eval_nodes(KernelGlobals *kg, ShaderData *sd, ShaderT
case NODE_RGB_CURVES:
svm_node_rgb_curves(kg, sd, stack, node, &offset);
break;
+ case NODE_VECTOR_CURVES:
+ svm_node_vector_curves(kg, sd, stack, node, &offset);
+ break;
case NODE_LIGHT_FALLOFF:
svm_node_light_falloff(sd, stack, node);
break;