Add live F1 gray shadow lift control #1801

Manually merged
github merged 1 commit from github-bot/gh-1801 into main 2026-11-29 08:21:49 +00:00 AGit
Owner

@⁠t90 on GitHub · 2026-11-29 00:08 UTC · original
t90:contribute/live-gray-shadow-menu → main · +66 −9 · 3 files · 1 commits · merged 2026-11-29 08:16 UTC

What it changes

The gray shadow workaround merged in #852 can currently only be configured before startup. Add GRAY SHADOW LIFT to F1, from 0% (off) to 100% (the existing raw maximum 0.3), in 10% steps. Changes apply to the next recorded composition and save automatically; no restart or shader recompilation is needed. Existing raw 0.12 corresponds to 40%.

Read the existing clamped lift value for each composition instead of caching it when the composer is created. Keep the existing scene-only shader unchanged, including its highlight weighting and composition of opaque phone/interface pixels afterward. Add the percent glyph and contextual menu help. The default remains off. This does not fix missing lighting inputs or phone emission.

Only three GPU source files are included: compose.rs, host/menu.rs and host/font.rs. No local launchers, resolution profiles, allocation-pool changes, stutter fixes or runtime settings are included.

How it was tested

  • GPU/profile: RTX 5070; local diagnostics RC, Series S, 720p scene, DLSS Quality, DLSS 2x frame generation. No ray-tracing settings were changed for this feature.
  • Before: changing VICTORY_SHADOW_LIFT required restarting the process; there was no F1 control.
  • After: focused tests confirm live reads and persisted menu choices. The underlying gray workaround was previously tested in game by @⁠t90. The new F1 control has not received a separate controlled in-world comparison; no performance or full-mission stability claim is made.
  • All 9 F1-menu tests passed, including live changes, saved values, 0/max cycling, help layout and percent glyph coverage.
  • The WARP composition test passed at raw lift 0, 0.03, 0.12 and 0.3, checking dark-pixel brightening, highlight/saturated-pixel preservation and opaque UI/phone preservation.
  • Optimized diagnostics build and CLI help passed in the combined local RC. The full crate/workspace test suites were not run. This PR's menu/composer/font changes were tested locally; unrelated local RC features are excluded here.
  • Shader changes/wave sizes: no shader change in this PR; it changes when the existing composition constant is read.

Known baseline checks: main emits five compiler warnings, and unchanged crates/victory-shader/src/emit/lower.rs exceeds the 655360-byte asset-policy source limit. No CI or policy exemption is added, and strict CI is not claimed green.

Checked for overlap

  • Searched open PRs for shadow lift and reviewed the contribution inventory in #1138.
  • #852 is the merged underlying scene gray lift; this PR adds its live control.
  • #652 touches host/menu.rs for keyboard/mouse controls, and #1510 touches compose.rs as part of broader API conformance. They have file overlap but do not provide this live gray-lift control.

AI-assisted implementation and validation; gameplay feedback from @⁠t90.

**@⁠t90** on GitHub · 2026-11-29 00:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1801) `t90:contribute/live-gray-shadow-menu` → `main` · +66 −9 · 3 files · 1 commits · merged 2026-11-29 08:16 UTC ## What it changes The gray shadow workaround merged in #852 can currently only be configured before startup. Add **GRAY SHADOW LIFT** to F1, from 0% (off) to 100% (the existing raw maximum 0.3), in 10% steps. Changes apply to the next recorded composition and save automatically; no restart or shader recompilation is needed. Existing raw 0.12 corresponds to 40%. Read the existing clamped lift value for each composition instead of caching it when the composer is created. Keep the existing scene-only shader unchanged, including its highlight weighting and composition of opaque phone/interface pixels afterward. Add the percent glyph and contextual menu help. The default remains off. This does not fix missing lighting inputs or phone emission. Only three GPU source files are included: compose.rs, host/menu.rs and host/font.rs. No local launchers, resolution profiles, allocation-pool changes, stutter fixes or runtime settings are included. ## How it was tested - GPU/profile: RTX 5070; local diagnostics RC, Series S, 720p scene, DLSS Quality, DLSS 2x frame generation. No ray-tracing settings were changed for this feature. - Before: changing VICTORY_SHADOW_LIFT required restarting the process; there was no F1 control. - After: focused tests confirm live reads and persisted menu choices. The underlying gray workaround was previously tested in game by @⁠t90. The new F1 control has not received a separate controlled in-world comparison; no performance or full-mission stability claim is made. - All 9 F1-menu tests passed, including live changes, saved values, 0/max cycling, help layout and percent glyph coverage. - The WARP composition test passed at raw lift 0, 0.03, 0.12 and 0.3, checking dark-pixel brightening, highlight/saturated-pixel preservation and opaque UI/phone preservation. - Optimized diagnostics build and CLI help passed in the combined local RC. The full crate/workspace test suites were not run. This PR's menu/composer/font changes were tested locally; unrelated local RC features are excluded here. - Shader changes/wave sizes: no shader change in this PR; it changes when the existing composition constant is read. Known baseline checks: main emits five compiler warnings, and unchanged crates/victory-shader/src/emit/lower.rs exceeds the 655360-byte asset-policy source limit. No CI or policy exemption is added, and strict CI is not claimed green. ## Checked for overlap - [x] Searched open PRs for shadow lift and reviewed the contribution inventory in #1138. - #852 is the merged underlying scene gray lift; this PR adds its live control. - #652 touches host/menu.rs for keyboard/mouse controls, and #1510 touches compose.rs as part of broader API conformance. They have file overlap but do not provide this live gray-lift control. AI-assisted implementation and validation; gameplay feedback from @⁠t90.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:10:40 +00:00
github manually merged commit 92d00fbf1e into main 2026-11-29 08:21:49 +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!1801
No description provided.