diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-30 22:55:04 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-30 22:55:04 +0400 |
commit | 75cce01a614e686530e26dbd186a88d75dc4e7b5 (patch) | |
tree | ef033ff850390b7c20e6c9f3907f3d45f61525b5 /intern/cycles/render/nodes.cpp | |
parent | a2bf2ba7df80dd41d116ec00ff8a3efe2d50b123 (diff) |
Fix #33364: cycles tile rendering artifacts.
Diffstat (limited to 'intern/cycles/render/nodes.cpp')
-rw-r--r-- | intern/cycles/render/nodes.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp index 48fe63670c7..55fb9bf8a7e 100644 --- a/intern/cycles/render/nodes.cpp +++ b/intern/cycles/render/nodes.cpp @@ -1624,6 +1624,9 @@ HoldoutNode::HoldoutNode() void HoldoutNode::compile(SVMCompiler& compiler) { + float3 value = make_float3(1.0f, 1.0f, 1.0f); + + compiler.add_node(NODE_CLOSURE_SET_WEIGHT, value); compiler.add_node(NODE_CLOSURE_HOLDOUT, compiler.closure_mix_weight_offset()); } |