Fix T62145: Geometry.Backface Node Renders Black
authorJeroen Bakker <j.bakker@atmind.nl>
Thu, 14 Mar 2019 08:20:11 +0000 (09:20 +0100)
committerJeroen Bakker <j.bakker@atmind.nl>
Thu, 14 Mar 2019 08:20:11 +0000 (09:20 +0100)
commit4887baf7d69c6c44c265044600ec00c77e9aa406
treec49c1fb9fc11ee85f6b03a938c05b70f1f720ad2
parent6eeac735f2425ce4dffaee747b7e8823a793e464
Fix T62145: Geometry.Backface Node Renders Black

The NODE_GROUP_LEVEL of the Geometry node should be bumped to 1
when Backface is connected. Backface uses `NODE_LIGHT_PATH` that
is part of NODE_GROUP_LEVEL1, the rest of the geometry ndoe is
NODE_GROUP_LEVEL_0.
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h