Cycles: Support per-render layer world AO settings
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 24 Nov 2015 08:21:40 +0000 (13:21 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 24 Nov 2015 08:21:40 +0000 (13:21 +0500)
commitfa6bdfd622999fa5f0550f879716a904991b33a6
tree697008759db5918e54e82e77c32009ed9c398afa
parent31cc60e76bfa81783e61a7b01586de9547de0174
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
intern/cycles/blender/addon/ui.py
intern/cycles/blender/blender_shader.cpp
intern/cycles/blender/blender_sync.cpp
intern/cycles/blender/blender_sync.h
intern/cycles/render/background.cpp
intern/cycles/render/background.h
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/intern/rna_scene.c