Add opt-in neutral diffuse probe replacement for stray colour flashes #205
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!205
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-205"
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-27 09:23 UTC · original
t90:pr/neutral-probe-light→main· +406 −17 · 3 files · 10 commits · openDepends on #204. This PR stacks on its depth-free ambient floor; until #204 merges, GitHub’s main comparison includes that prerequisite. Please review the replacement-specific changes in
ambient.rsand the neutral-probe documentation separately. The reviewed #204 setup fix is included: FLAT is created only when requested, and its failure leaves existing ambient passes available.Add
VICTORY_AMBIENT_FLAT_REPLACE=1to replace the missing-depth diffuse resolve’s probe irradiance with the configured warm-neutral value. The setting defaults off and only the exact value1enables it. Activation also requires the existing ambient stand-in, its builder gate, and a positiveVICTORY_AMBIENT_FLATlevel. Restart after changing it. The valid-depth path retains its existing behavior. A diagnostic message is emitted when replacement is actually used.This is a workaround for spurious coloured diffuse illumination, not a correction of its producer. It discards legitimate indirect colour, intensity and spatial variation too, including brighter-than-floor probe light. Direct-light and reflection passes are not disabled, though their composite appearance can change. It does not reconstruct physically correct lighting. No gray post-process lift, personal launcher or frame-generation changes are included.
Validation by revision:
b80c7ea.-D warnings); asset policy passed (307 files), diff check passed.ms_6_6. The complete remaining suite passed with onlya_frame_is_recorded_and_replayedexcluded. This is not a claim that the exact CI suite passed.Paired replacement-off/on recordings and exact settings are attached in this evidence comment. The same executable and ambient floor/gray lift were held constant; only replacement changed. Both logs confirm the missing-depth path. Camera paths were performed separately, so the pair is qualitative image evidence, not a matched performance benchmark. Full temporal/trade-off review remains open, including legitimate coloured indirect light, phone/HUD, shadows and reflections. All game-derived media and logs remain outside Git. Ready for code and image review; merge remains dependent on #204.
@TaynanGT on GitHub · 2026-11-27 09:28 UTC · original
@t90 The replay test selects
x64/dxc.exefrom the highest installed Windows SDK folder, so changingPATHwon’t pick a different compiler. A current Windows SDK withms_6_6support will let you rerun that case. For the image comparison, use a shot that logs the missing-depth fallback and toggle onlyVICTORY_AMBIENT_FLAT_REPLACE. That isolates the replacement and makes it possible to check what happens to legitimate coloured indirect light.The RTX 3080 report in #197 now points to a rejected stencil SRV in the diffuse resolve slot. I’ll track that binding separately from the replacement workaround.
@t90 on GitHub · 2026-11-27 11:05 UTC · original
Paired probe-replacement recordings are ready for review. Both runs used the same executable (SHA-256
754BAAE89C2C216D2BCB5346A8BB1FF9D60351129DD9669C43C0CB594C2ADCE6) and unchanged ambient floor1.2, gray lift0.12, DLSS Quality, NVIDIA 4× request and texture budget 80%. The only launch-setting change wasVICTORY_AMBIENT_FLAT_REPLACE:0before,1after.Both logs confirm the missing-depth route and a recorded
1280×720floor dispatch at level1.2. Only the enabled run logs neutral probe replacement activation. The clips cover the affected building/checkpoint; the camera paths were performed separately, so this is qualitative evidence rather than a matched performance benchmark. Loading and desktop footage have been removed; all media remains outside Git.Replacement still discards legitimate indirect color, intensity and spatial variation, as documented. Reviewing those trade-offs and temporal artifacts remains part of the image review. This pair does not establish the separate effects of the ambient floor or gray lift, or a correction of the probe producer.
b80c7ea.Before — replacement off (~18 seconds):
https://github.com/user-attachments/assets/4fb4239a-c9d7-403d-9099-16004e489a33
After — replacement on (~18 seconds):
https://github.com/user-attachments/assets/a0eca15e-795e-454e-809b-7bf1b633cad5
@TaynanGT on GitHub · 2026-11-27 11:16 UTC · original
@t90 The dispatch markers tie both clips to the
1.2floor and confirm the replacement toggle. For the temporal review, check the affected surfaces through motion and cuts, then use a fixed view with legitimate coloured indirect light to see what the neutral replacement takes away. The floor-only comparison in #204 remains a separate result.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.