diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-09-01 18:10:40 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-09-01 18:10:40 +0400 |
commit | f3252c261dc21ffaceab2e1b377c824d70ee9436 (patch) | |
tree | a96becd955cb1c0671c1a3e27e015a4caef53eef /intern/cycles/render/integrator.cpp | |
parent | 902e1d0b53f41ddfb2a0320bdc0cf72b28e1c18d (diff) |
Fix #36620: sss + indirect light rendering artifacts, due to wrong correlation in
the random numbers.
Diffstat (limited to 'intern/cycles/render/integrator.cpp')
-rw-r--r-- | intern/cycles/render/integrator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/integrator.cpp b/intern/cycles/render/integrator.cpp index 47b1930e27c..88466f24ec5 100644 --- a/intern/cycles/render/integrator.cpp +++ b/intern/cycles/render/integrator.cpp @@ -126,7 +126,7 @@ void Integrator::device_update(Device *device, DeviceScene *dscene, Scene *scene max_samples = max(max_samples, max(ao_samples, max(mesh_light_samples, subsurface_samples))); } - max_samples *= (max_bounce + transparent_max_bounce + 2); + max_samples *= (max_bounce + transparent_max_bounce + 3); int dimensions = PRNG_BASE_NUM + max_samples*PRNG_BOUNCE_NUM; dimensions = min(dimensions, SOBOL_MAX_DIMENSIONS); |