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:
authorThomas Dinges <blender@dingto.org>2015-05-14 02:08:45 +0300
committerThomas Dinges <blender@dingto.org>2015-05-14 02:13:40 +0300
commit67eb2c7897188c2e5134ea7df7bdc26e08fa5a7a (patch)
tree8257af6e9ff51647aaf270408a8916eac8ceec84 /intern/cycles/render/graph.h
parentda1038c768557c88d29ce74a98026ca4915ab2c3 (diff)
Cycles: Remove Emission shaders from the graph if color or strength is 0.
Diffstat (limited to 'intern/cycles/render/graph.h')
-rw-r--r--intern/cycles/render/graph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/graph.h b/intern/cycles/render/graph.h
index e6271009999..1a17909bddc 100644
--- a/intern/cycles/render/graph.h
+++ b/intern/cycles/render/graph.h
@@ -83,6 +83,7 @@ enum ShaderNodeSpecialType {
SHADER_SPECIAL_TYPE_BACKGROUND,
SHADER_SPECIAL_TYPE_IMAGE_SLOT,
SHADER_SPECIAL_TYPE_CLOSURE,
+ SHADER_SPECIAL_TYPE_EMISSION,
};
/* Enum