Skip to content

Commit

Permalink
Reformat ReSTIR_DI integrator code
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonKang130 committed Apr 21, 2024
1 parent 623aa52 commit 35fce28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrators/restir_di.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ class ReSTIRDirectLightingInstance final : public ProgressiveIntegrator::Instanc
luisa::vector<float4> local_pixels;
if (node()->video()) {
shutter_samples = camera->node()->uniform_shutter_samples();
for(auto &s: shutter_samples) s.spp = 1u;
for (auto &s : shutter_samples) s.spp = 1u;
local_pixels.resize(pixel_count);
}
command_buffer << synchronize();
Expand Down

0 comments on commit 35fce28

Please sign in to comment.