Add opt-in neutral probe light workaround for false red/blue flashes #851

Merged
t90 merged 1 commit from upstream-pr/851 into main 2026-11-28 19:39:38 +00:00
t90 commented 2026-11-28 07:43:28 +00:00 (Migrated from github.com)

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:

  • @t90 observed the false red/blue illumination disappear with neutral probe light enabled, and reported the phone screen rendered correctly after limiting the intervention to this path.
  • GPU regression checks cover neutral packed output and depth-independent operation; rejection checks cover resource/UAV format, mip, plane, and role.
  • Both neutral-probe GPU/scope regression tests passed; asset policy:294 files passed.

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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5538005258 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/851). Originally posted by [t90](https://github.com/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=<level> 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: - @t90 observed the false red/blue illumination disappear with neutral probe light enabled, and reported the phone screen rendered correctly after limiting the intervention to this path. - GPU regression checks cover neutral packed output and depth-independent operation; rejection checks cover resource/UAV format, mip, plane, and role. - Both neutral-probe GPU/scope regression tests passed; asset policy:294 files passed. 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!851
No description provided.