Add opt-in neutral probe light workaround for false red/blue flashes #851
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!851
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-851"
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?
@t90 on GitHub · 2026-11-28 07:43 UTC · original
t90:contribute/police-light-workaround→main· +256 −6 · 4 files · 1 commits · merged 2026-11-28 19:39 UTCDiffuse screen-probe lighting can flash red/blue on nearby surfaces without a corresponding light source. The existing ambient fallback can be skipped when depth is unavailable, leaving this output visible.
VICTORY_PROBE_NEUTRAL= optionally replaces the direct diffuse resolve output with neutral irradiance before later material and interface composition. It has no depth dependency. Unset/zero leaves existing behavior unchanged; the F1 NEUTRAL PROBE LIGHT row selects 0.3 or off and requires restart.
The replacement is limited to nonempty direct diffuse resolves with a supported R32_UINT 2D output and mip-zero color-plane UAV. It does not replace indirect dispatches or unrelated resources. It suppresses legitimate indirect color as well as erroneous color; this is a workaround, not a repair of the original probe calculation.
Validation:
No game captures, shader dumps, assets, or machine-specific launcher paths are included.
Local check detail: both workspace Clippy configurations (--all-targets, with and without --all-features) pass with command-line allowances for three lint classes already failing in unchanged upstream code: manual_is_multiple_of (descriptor.rs and shadow.rs), let_and_return (shader emit tests), and some_filter (gameinput.rs). No lint allowances were added to source or CI. Strict upstream CI can still report those existing failures. The complete workspace test suite was not run locally; the listed focused GPU/correctness tests were run on these isolated branches.
Additional play-test report pending isolation: both headlamp lenses and road illumination were reported absent in the combined Series S build. The gray composition formula only adds scene brightness; no explicit headlight disable exists in the profile code. A same-car/night comparison with neutral probe light off, then a console-profile comparison if needed, remains pending. This report has not been attributed to the probe workaround.
runs_wide) #1005