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/render/nodes.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/render/nodes.h')
-rw-r--r--intern/cycles/render/nodes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index 67733142dd1..5e357cff56c 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -455,6 +455,12 @@ public:
float4 curves[RAMP_TABLE_SIZE];
};
+class VectorCurvesNode : public ShaderNode {
+public:
+ SHADER_NODE_CLASS(VectorCurvesNode)
+ float4 curves[RAMP_TABLE_SIZE];
+};
+
class RGBRampNode : public ShaderNode {
public:
SHADER_NODE_CLASS(RGBRampNode)