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:
authorJeroen Bakker <j.bakker@atmind.nl>2019-03-14 11:20:11 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2019-03-14 11:20:11 +0300
commit4887baf7d69c6c44c265044600ec00c77e9aa406 (patch)
treec49c1fb9fc11ee85f6b03a938c05b70f1f720ad2 /intern/cycles/render/nodes.h
parent6eeac735f2425ce4dffaee747b7e8823a793e464 (diff)
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.
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r--intern/cycles/render/nodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index 429a1130a9b..5c27929719a 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -666,6 +666,7 @@ public:
void attributes(Shader *shader, AttributeRequestSet *attributes);
bool has_attribute_dependency() { return true; }
bool has_spatial_varying() { return true; }
+ int get_group();
float3 normal_osl;
};