Reflections: #63's sky bound at 1x the light around (eyes, glass and floors stop mirroring the sky indoors) #393
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/trustno1-coder--VIctory-NVIDIA!393
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-393"
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?
@tippythetaidum on GitHub · 2026-11-27 21:51 UTC · original
tippythetaidum:reflections-bound-1x→main· +408 −24 · 3 files · 2 commits · openWhat
PR #63 (by @wasonidas: the sky's light in reflections bounded where the miss program has no depth of the picture) with its two bounds' defaults at 1 times the light around instead of 6:
VICTORY_AMBIENT_SPECULAR_ALPHAunset: the alpha layer (glass, the eyes' wet layer, decals) is bounded at 1x (was 6x).VICTORY_AMBIENT_SPECULAR_NO_DEPTHunset: the opaque layer whereCS_RayMiss_de6b91a6has no depth is bounded at 1x (was 6x).Either switch still sets another multiple. The first commit is #63's as it is (author kept); if #63 is merged first, only the second commit (
ambient.rs, two constants and their comments) is left.Why
Without a bound, on an RTX 5080, every reflection ray that finds nothing keeps the title's sky light: the stand-in for reflections ran in 0 frames of a whole session (as in #163: variant
06bb6e728c7c99bfbinds no depth of the picture, only 853x480R32_UINT/R32_FLOATtextures beside its image; the program after it in the same list,130d3d04172e5456, has the 1706x960 depth ats0+448). In the frames that gives white sky patches over the day room's floor and a blue-violet sheen on the whites of the eyes in the café's close-ups.With #63's bound at 6 the player still saw eyes and glass shine too much indoors and an oily look on the floors. At 1 they saw neither, and in the captured close-ups the eyes are as dark as the room.
Measured
RTX 5080 16 GB, driver 621.14, Windows 11, 31 GB RAM, Series X profile, 2560x1440, DLSS Quality, DLSS frame generation 4x, title 1.0.2.1, the prologue (café flashback, cell, corridor, day room). Diagnostics builds with every 96th world frame saved (
VICTORY_CAPTURE_WORLD_EVERY):..._ALPHA=0,..._NO_DEPTH=0)The release build of this branch on
0f0ada1was run too (since rebased ontodf2daaf, whose changes are to the launcher and FSR 3: the checks below were run again, the game was not): the ten-second line saysthe alpha layer: Bound(1.0); the opaque layer ...: Some(1.0), DLSS took every upscaling (1.00 upscalings by DLSS, 0.00 failed), no device removal or unhandled exception.Not shown
06bb6e728c7c99bf(or the title's own rays).Checks
cargo test -p victory-gpu --lib ambient::: 8 passed.cargo xtask policy: 286 files ok.cargo test -p victory-gpu --libon this machine: the same twoindirect::testsbudget tests fail as on unmodifiedmain(see #67), nothing else.Made with AI help (Claude Code); the numbers are from the runs' logs and captures, the "player" lines from the person playing them.
🤖 Generated with Claude Code
@SkylerizMe on GitHub · 2026-11-27 22:34 UTC · original
Tested on a second RTX 5080 (Ryzen 9 9950X3D, Windows 11) in the same scenes: fxceless/victory-fork
2eade68with this PR, #142 and #58 on top, Series S, DLSS Performance, frame generation 2x. The day room floor and the eyes no longer mirror the sky; across the first 6 to 10 minutes of the prologue the reflection problem from #163 is gone. The ten-second line shows 500 to 870 dispatches a window that "kept the title's sky light, bounded by the light around" withBound(1.0). Steady 36.6 fps against 31.0 before on the same settings, no errors. Grainy shadows, aliasing and some lighting flicker remain, but those are separate from this.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.