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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-02 20:37:28 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-02 20:37:28 +0400
commit5c74e6dae2826774b7ff36295d6499a5d45d1060 (patch)
tree09198dcc04581fc20f698559dceedc5105070fb6 /intern/cycles/kernel/kernel_types.h
parentbe1a5a23284910c1bf1a9c635e34f51a5b22940f (diff)
Cycles: small code cleanup + fix SSS closure mixed with other closures doing
a bit too much work.
Diffstat (limited to 'intern/cycles/kernel/kernel_types.h')
-rw-r--r--intern/cycles/kernel/kernel_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 9c126074e83..526609d0506 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -452,6 +452,8 @@ enum ShaderDataFlag {
SD_VOLUME = 128, /* have volume closure? */
SD_AO = 256, /* have ao closure? */
+ SD_CLOSURE_FLAGS = (SD_EMISSION|SD_BSDF|SD_BSDF_HAS_EVAL|SD_BSDF_GLOSSY|SD_BSSRDF|SD_HOLDOUT|SD_VOLUME|SD_AO),
+
/* shader flags */
SD_SAMPLE_AS_LIGHT = 512, /* direct light sample */
SD_HAS_SURFACE_TRANSPARENT = 1024, /* has surface transparency */