Add optional scene-only gray shadow lift before UI composition #852

Manually merged
github merged 1 commit from github-bot/gh-852 into main 2026-11-28 19:42:56 +00:00 AGit
Owner

@⁠t90 on GitHub · 2026-11-28 07:43 UTC · original
t90:contribute/gray-shadow-lift → main · +243 −9 · 2 files · 1 commits · merged 2026-11-28 19:39 UTC

Very dark scene regions lose visibility even with the ambient-light estimate enabled. VICTORY_SHADOW_LIFT= provides an optional display-space lift of dark scene pixels before the interface plane is blended.

The setting defaults to zero, accepts finite decimal values clamped to 0..0.3, and preserves existing output when disabled. The gameplay setting used for the current comparison is 0.12 (40% of the allowed maximum). This makes dark regions easier to see; it does not reconstruct missing indirect-light detail. The UI plane is blended afterward and is not lifted.

Validation:

  • @⁠t90 reported that the combined gray and ambient workaround improved shadow visibility in gameplay.
  • The GPU regression checks the disabled baseline, dark-scene lift, bright pixels, and interface preservation.
  • Standalone WARP shadow-lift/UI test passed; asset policy:294 files passed.

This PR is independent of the neutral diffuse-probe workaround. It includes no game-derived fixtures, captures, local launcher defaults, or personal paths.

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.

**@⁠t90** on GitHub · 2026-11-28 07:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/852) `t90:contribute/gray-shadow-lift` → `main` · +243 −9 · 2 files · 1 commits · merged 2026-11-28 19:39 UTC Very dark scene regions lose visibility even with the ambient-light estimate enabled. VICTORY_SHADOW_LIFT=<amount> provides an optional display-space lift of dark scene pixels before the interface plane is blended. The setting defaults to zero, accepts finite decimal values clamped to 0..0.3, and preserves existing output when disabled. The gameplay setting used for the current comparison is 0.12 (40% of the allowed maximum). This makes dark regions easier to see; it does not reconstruct missing indirect-light detail. The UI plane is blended afterward and is not lifted. Validation: - @⁠t90 reported that the combined gray and ambient workaround improved shadow visibility in gameplay. - The GPU regression checks the disabled baseline, dark-scene lift, bright pixels, and interface preservation. - Standalone WARP shadow-lift/UI test passed; asset policy:294 files passed. This PR is independent of the neutral diffuse-probe workaround. It includes no game-derived fixtures, captures, local launcher defaults, or personal paths. 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:29:03 +00:00
github-bot referenced this pull request from a commit 2026-11-28 19:41:56 +00:00
github manually merged commit 4bad34f75f into main 2026-11-28 19:42:56 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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