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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-01 18:10:40 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-01 18:10:40 +0400
commitf3252c261dc21ffaceab2e1b377c824d70ee9436 (patch)
treea96becd955cb1c0671c1a3e27e015a4caef53eef /intern/cycles/render/integrator.cpp
parent902e1d0b53f41ddfb2a0320bdc0cf72b28e1c18d (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.cpp2
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);