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
This commit is contained in:
2014-03-15 17:36:44 +01:00
parent cb4c49ad97
commit 211f08d89b
7 changed files with 19 additions and 6 deletions

View File

@@ -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");