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:
authorlazydodo <github@lazydodo.com>2016-12-09 18:28:04 +0300
committerlazydodo <github@lazydodo.com>2016-12-09 18:28:04 +0300
commit5a8b5a0377781b5d03b39543a58175d8f4bc2bab (patch)
tree1a3c7ef2ab0c70de328671eafcfa92a3daced4cf /intern/cycles/render/shader.cpp
parent1846a7884974a3cde5ce62ee1faaa8295647398d (diff)
Land D2339 by bliblu bli
Diffstat (limited to 'intern/cycles/render/shader.cpp')
-rw-r--r--intern/cycles/render/shader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/shader.cpp b/intern/cycles/render/shader.cpp
index 06b6dd969d8..335edcbe609 100644
--- a/intern/cycles/render/shader.cpp
+++ b/intern/cycles/render/shader.cpp
@@ -571,6 +571,9 @@ void ShaderManager::get_requested_graph_features(ShaderGraph *graph,
if(node->has_surface_bssrdf()) {
requested_features->use_subsurface = true;
}
+ if(node->has_surface_transparent()) {
+ requested_features->use_transparent = true;
+ }
}
}