Skip to content

Commit

Permalink
correcting the sample generation
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgrassler authored Oct 26, 2024
1 parent a1553d9 commit a04daa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pbrt/cpu/integrators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2867,7 +2867,7 @@ void SPPMIntegrator::Render() {
Options->disableWavelengthJitter ? Float(0.5) : RadicalInverse(1, iter);
const SampledWavelengths passLambda = film.SampleWavelengths(uLambda);

Float timeSample = samplerPrototype.Get1D();
Float timeSample = RadicalInverse(2, iter);

ParallelFor2D(pixelBounds, [&](Bounds2i tileBounds) {
// Follow camera paths for _tileBounds_ in image for SPPM
Expand Down

0 comments on commit a04daa3

Please sign in to comment.