Skip to content

Commit

Permalink
Remove camera clearing after each spp in ReSTIR
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonKang130 committed Apr 22, 2024
1 parent 35fce28 commit f99136c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/integrators/restir_di.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,6 @@ class ReSTIRDirectLightingInstance final : public ProgressiveIntegrator::Instanc
pipeline().update(command_buffer, s.point.time);
for (auto i = 0u; i < s.spp; i++) {
auto constexpr num_spatial_reuse_pass = 2u;
camera->film()->clear(command_buffer);
command_buffer << generate(_total_frame_count, s.point.time, node<ReSTIRDirectLighting>()->num_initial_sample())
.dispatch(resolution);
if (node<ReSTIRDirectLighting>()->enable_visibility_reuse()) {
Expand Down

0 comments on commit f99136c

Please sign in to comment.