Add optional scene-only gray shadow lift before UI composition #852
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/852"
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:30Z.
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:
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.