Skip to content

Commit

Permalink
Disable decoupled shading for now.
Browse files Browse the repository at this point in the history
Looks like it introduces a visible bias that may not be obvious.
We need to take careful measurements before flipping it on again.
  • Loading branch information
kvark committed Oct 13, 2024
1 parent 02716f6 commit 819c63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blade-render/code/ray-trace.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const PI: f32 = 3.1415926;
const MAX_RESERVOIRS: u32 = 2u;
// See "DECOUPLING SHADING AND REUSE" in
// "Rearchitecting Spatiotemporal Resampling for Production"
const DECOUPLED_SHADING: bool = true;
const DECOUPLED_SHADING: bool = false;

// We are considering 2x2 grid, so must be <= 4
const FACTOR_TEMPORAL_CANDIDATES: u32 = 1u;
Expand Down

0 comments on commit 819c63c

Please sign in to comment.