diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-15 18:08:46 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-15 18:08:46 +0400 |
commit | 1c410ab6e79b140f912b257863b42ec2028d6b23 (patch) | |
tree | 037ff04a90f7f45ddd29891263523b5ebc669fed /intern/cycles/render | |
parent | b89026a3028c3a4f1b6e205c249242d17a878f72 (diff) |
Fix #33183: cycles bump mapping was not executed with only an AO node in a material.
Diffstat (limited to 'intern/cycles/render')
-rw-r--r-- | intern/cycles/render/nodes.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp index 82afab4dc1a..cdc3b555a51 100644 --- a/intern/cycles/render/nodes.cpp +++ b/intern/cycles/render/nodes.cpp @@ -1578,6 +1578,8 @@ void HoldoutNode::compile(OSLCompiler& compiler) AmbientOcclusionNode::AmbientOcclusionNode() : ShaderNode("ambient_occlusion") { + add_input("NormalIn", SHADER_SOCKET_NORMAL, ShaderInput::NORMAL, true); + add_input("Color", SHADER_SOCKET_COLOR, make_float3(0.8f, 0.8f, 0.8f)); add_output("AO", SHADER_SOCKET_CLOSURE); } |