GPU: interpolate aligned diffuse probe seams on continuous depth #2138
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2138
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2138"
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?
@Yoshi-233 on GitHub · 2026-11-29 09:51 UTC · original
Yoshi-233:fix/limit-untraced-probe-seams→main· +103 −0 · 1 files · 1 commits · openOn a sunlit wood floor, the untraced diffuse resolve can contain bright rectangular steps aligned to a 16-pixel grid. In one doorway capture, all 55 measured hard edges in the displayed floor patch had a corresponding step in the packed irradiance sampled by the material. The grain was visible across the boundary.
This adds an opt-in
VICTORY_AMBIENT_PROBE_EDGES=1pass after the untraced diffuse estimate. It checks for a sustained change at a grid boundary with continuous device depth. It interpolates the packed light between the measured colours on either side. The BVH path, constant-light mode and unequal light/depth extents skip the pass.Reproducing the measurement
In daylight, open the porch door and stand on the threshold looking toward the kitchen. Use the same wood patch and angle for both settings. On my RTX 4070 Ti SUPER, Series X, DLSS Quality M (2560×1440 input and 3840×2160 output), 2× frame generation, BVH disabled, I obtained two on/off pairs in one player process.
The p90 registration error across the pairs was at most 0.08 pixels at 480-pixel inspection width. The wood grain and sunlit band remain visible. Some corners of the diagonal light boundary still look angular. The cutoff can also catch a legitimate straight boundary in indirect light on a flat surface. Additional rooms and GPUs would help evaluate that trade-off before changing defaults.
Code and hardware checks
829188e96. All 14 Windowsambient::testspassed with the option disabled and again enabled. The staged source passed the asset check. I ran the ambient tests, not the full workspace suite. I have no frame-rate gain to report for this pass.I checked for existing probe and interior-light patches. #1995 filters very bright outliers on dim surfaces. This PR is independent and covers a measured step on a moderately bright floor.
The Windows Clippy check stops at the existing unused
unwind_copyinvictory-loader. The loader change is tracked in #2019.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.