Stand-in fix for too-bright reflections (missed reflection rays bounded by the light around; VICTORY_AMBIENT_REFLECT, off by default) #414
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!414
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-414"
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?
@Jrjy3 on GitHub · 2026-11-27 01:33 UTC · original
Jrjy3:reflection-cap→main· +85 −3 · 2 files · 1 commits · openEyes, wet skin and glossy floors show reflections at open-sky strength indoors and in shade.
Cause:
CS_RayMiss_de6b91a6fills every reflection ray that hits nothing on screen with the sky probe's light. With the title's ray tracing and probes not running, nearly every ray misses, so all of them get the full sky. Eyes are small curved mirrors and almost always miss, so they glow the most.Change: after
CS_RayMissruns, a small pass caps each pixel of its output image (UAV (1,104), R11G11B10, 853×480 at the 2/3 render) at the ambient stand-in's local light estimate ×VICTORY_AMBIENT_REFLECT. NaN becomes 0. The program is only ever dispatched indirectly, so the stand-in hook now also runs on the indirect path, for this role only; the other ambient roles are unchanged.VICTORY_AMBIENTon, because it reuses that pass's estimate.cargo test -p victory-gpu ambientpasses 4/4.VICTORY_AMBIENT_REFLECT=1)🤖 Generated with Claude Code
@UwUCammie on GitHub · 2026-11-27 01:39 UTC · original
I tested the same reflection clamp idea on the Linux AMD branch with an RX 7900 XT and RADV 26.3.1. The pass recorded at 853×480 only with the switch enabled. It was easy to match the outdoor shot, but the two bedroom replays faced different surfaces, even after looking only at the indoor sections. I haven't verified the eye or floor fix on this setup yet. I'm trying the same copied save with short right-stick pulses and pauses to get matching views. Replay details
@jtrudeau1530 on GitHub · 2026-11-27 04:43 UTC · original
This fixes the eyes on Linux/RADV too.
Setup: RX 7900 XT, Wine 11.18, vkd3d-proton
71cae091, Series X,VICTORY_AMBIENT=0.8. I compared the same cutscene shot (Lucia's close-up in the diner), matched across runs by thumbnail RMSE.VICTORY_AMBIENT_REFLECT=1, the irises and pupils are back and the eyes look normal.I'm turning it on in our play settings.
One separate thing: the same close-up still shows the lips and mouth stretched and changing shape from frame to frame. That's unrelated to this PR. It's there with the ports off, with the relay at stage 1 and
CARD_STEPS=0, and on older builds. I'm bisecting it and will open an issue with what I find.AI-assisted (Claude Code).
@UwUCammie on GitHub · 2026-11-27 04:54 UTC · original
Thanks for matching the diner shot. My earlier bedroom clips faced different surfaces, so they couldn't answer the eye question. I've queued a cold diner comparison on the same RX 7900 XT with
71cae091, Series X andVICTORY_AMBIENT=0.8. The reflection switch will be the only setting that changes. I'll report the matched eye shot separately from launch-to-300-second timing and leave the mouth deformation out of the reflection 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.