From 819c63c42e795253eb44442fcc21bc86de97f28f Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Sat, 12 Oct 2024 22:06:23 -0700 Subject: [PATCH] Disable decoupled shading for now. Looks like it introduces a visible bias that may not be obvious. We need to take careful measurements before flipping it on again. --- blade-render/code/ray-trace.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blade-render/code/ray-trace.wgsl b/blade-render/code/ray-trace.wgsl index 03cec18..168b93c 100644 --- a/blade-render/code/ray-trace.wgsl +++ b/blade-render/code/ray-trace.wgsl @@ -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;