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-11-27 01:59:41 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-27 01:59:41 +0400
commitceed3ef640bb40e1232feeb409220fe19011bc43 (patch)
tree48ad960f483ad185718b14bbc605b6182732f56c /intern/cycles/render/nodes.h
parenteab58bf994323a53311543d7d706b0be87ffe197 (diff)
Fix #32907: failure rendering a complex node setup, hitting fixed max number
of closures limit. Optimized the code now so it can handle more. Change SVM mix/add closure handling, now we transform the node graph so that the mix weights are fed into the closure nodes directly.
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r--intern/cycles/render/nodes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index 3e89c2286ad..67733142dd1 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -351,6 +351,11 @@ public:
SHADER_NODE_CLASS(MixClosureNode)
};
+class MixClosureWeightNode : public ShaderNode {
+public:
+ SHADER_NODE_CLASS(MixClosureWeightNode);
+};
+
class InvertNode : public ShaderNode {
public:
SHADER_NODE_CLASS(InvertNode)