gpu: fade unusually bright diffuse probes on dim surfaces #1995
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1995"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoshi-233 on 2026-11-29T06:26:14Z.
On an RTX 4070 Ti SUPER with the BVH builder disabled, a dim wood floor showed a rectangular grid that moved with the screen. The temporal diffuse resolve contained the pattern. In five aligned captures the material sampled the same packed irradiance values as the host diffuse pass, across 806,400 words per capture. The base-colour wood texture still had continuous grain.
This adds an opt-in
VICTORY_AMBIENT_PROBE_OUTLIERS=1to the existing diffuse fallback. On dim surfaces it fades a probe sample toward the local estimate when the sample is substantially brighter. It retains the existing finite/chroma filtering and adjusts the retained probe contribution used by the one-bounce path. The default shader and the BVH path keep their current behaviour. A legitimate bright pool of indirect light in a dark area could also be attenuated, so I would appreciate testing other rooms before considering a default change.Validation
ceacb436fwith main at829188e96on Windows. All 15ambient::testspassed with the filter disabled and again with it enabled, including shader compilation and the hardware/WARP chroma test. The source branch passed its asset check (294 files).victory_loader::crash::unwind_copyfunction. This PR changes onlyambient.rs. Windows job logThe game measurements above are from the instrumented local backport. The proposed merge onto upstream main has separately passed the Windows tests.
The Windows Clippy check stops at the existing unused
unwind_copyinvictory-loader. The loader change is tracked in #2019.