diff options
author | Thomas Dinges <blender@dingto.org> | 2014-03-15 20:36:44 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-03-15 20:37:43 +0400 |
commit | 211f08d89bb48312a426fe969e0d967cf637b66c (patch) | |
tree | 92a33cfdb418e23c39f1d90eff61b24640ff4616 /intern/cycles/blender/blender_sync.cpp | |
parent | cb4c49ad973f7e31204f282e3da18af74dab5a7c (diff) |
Cycles: Direct multi light sampling in the Branched Path Integrator is optional now.
Disabling this can improve performance, when we need a lot of AA Samples anyway, to clear up the render.
Simple example .blend: http://www.pasteall.org/blend/27582
Differential Revision: https://developer.blender.org/D392
Diffstat (limited to 'intern/cycles/blender/blender_sync.cpp')
-rw-r--r-- | intern/cycles/blender/blender_sync.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp index 202eff48d53..1f5e32a1123 100644 --- a/intern/cycles/blender/blender_sync.cpp +++ b/intern/cycles/blender/blender_sync.cpp @@ -197,7 +197,8 @@ void BlenderSync::sync_integrator() #endif integrator->method = (Integrator::Method)get_enum(cscene, "progressive"); - + + integrator->sample_all_lights_direct = get_boolean(cscene, "sample_all_lights_direct"); integrator->sample_all_lights_indirect = get_boolean(cscene, "sample_all_lights_indirect"); int diffuse_samples = get_int(cscene, "diffuse_samples"); |