Interior light contribution changes with camera framing; phone light sometimes appears dark #353
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/lobomfz--VIctory-xmem#353
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@diafebus on GitHub · 2026-12-03 19:16 UTC · original
Issue draft — interior lighting changes with camera framing
Title: Interior light contribution changes with camera framing; phone light sometimes appears dark
Observed
On an RX 6950 XT, indoor light sources appear to contribute reflections/illumination to nearby surfaces while the source is in view. When the camera turns so the source leaves the viewport, that contribution can disappear; some of the phone-light observations also look unlit indoors. The player and scene remain in the same general area. This is the user's observation; it has not yet been reproduced as a controlled A/B, and it is not yet clear whether the changing component is direct light, diffuse bounce, or screen-space reflection.
Environment for the observed run
20260601-slr-x86_64_v3)00aa4d3plus localVICTORY_PAGES_SETTLE_STRIKES=2VICTORY_BVH_BUILDER=0for this runNo game files, screenshots, or full log attached. The local run log records the ambient stand-in activating for
Radiance,Resolve,Reflected,ReflectedIn,Alpha, andAirpasses. The source comments describe its estimate as derived from radiance of visible surfaces and assume off-screen surfaces emit similar light. This looks relevant to the symptom, but it does not prove that the stand-in is responsible for a local light or phone-light change.Reproduction / useful A/B
The key question is whether only screen-space diffuse bounce/reflection changes, or whether the local/direct light contribution also disappears. A short frame/dispatch trace across the transition could help identify which pass changes. A second run with the ambient stand-in disabled may isolate that path, but it could make the whole room darker and should be treated as a follow-up rather than proof by itself.
This appears distinct from #91, which reports local lights/headlights disappearing at close range, and #61, which concerns the ambient RT band darkening shaded surfaces.
@danfq on GitHub · 2026-12-05 21:15 UTC · original
A data point that may explain this one: the run above has
VICTORY_BVH_BUILDER=0.I saw the same on an RX 7600 XT (RDNA 3, xmem
b581f7e, Series X, FSR 4 quality at 1080p) with ray tracing off. A lamp lit the walls, the car and the ground around it while it was in view, and a small camera turn that took the lamp out of frame left the whole area nearly black. From a high camera at night, the ground went pitch black while characters stayed lit.With
VICTORY_BVH_BUILDER=1and nothing else changed, all of it was gone, in the same places.That fits what
crates/victory-gpu/src/ambient.rsdescribes: without the ray-tracing structure builder, the title's rays find nothing, its screen probes keep only the sky's light outdoors and nothing indoors, and any stand-in for the bounce light can only go by what is on screen. So the framing dependence looks expected with ray tracing off, not a separate bug. On my machine, ray tracing costs about 15 to 25% of the real frame rate, mostly on the CPU.