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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-11-24 11:21:40 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-11-24 11:21:40 +0300
commitfa6bdfd622999fa5f0550f879716a904991b33a6 (patch)
tree697008759db5918e54e82e77c32009ed9c398afa /intern/cycles/render/background.h
parent31cc60e76bfa81783e61a7b01586de9547de0174 (diff)
Cycles: Support per-render layer world AO settings
This is sort of extension of existing Use Environment option which now allows to disable AO on the render layer basis. Useful in cases like disabling AO for the background because it might make it too flat and so. Reviewers: juicyfruit, dingto, brecht Reviewed By: brecht Subscribers: eyecandy, venomgfx Differential Revision: https://developer.blender.org/D1633
Diffstat (limited to 'intern/cycles/render/background.h')
-rw-r--r--intern/cycles/render/background.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/render/background.h b/intern/cycles/render/background.h
index 26a727291ee..8bf97f5d6f7 100644
--- a/intern/cycles/render/background.h
+++ b/intern/cycles/render/background.h
@@ -30,7 +30,8 @@ public:
float ao_factor;
float ao_distance;
- bool use;
+ bool use_shader;
+ bool use_ao;
uint visibility;
uint shader;