Add opt-in neutral probe light workaround for false red/blue flashes #851
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by t90 on 2026-11-28T07:43:28Z.
Diffuse 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.