Interior light contribution changes with camera framing; phone light sometimes appears dark #353

Open
opened 2026-12-03 19:17:37 +00:00 by github-bot · 1 comment
Owner

@⁠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

  • Fedora 45, kernel 7.3.6
  • AMD Radeon RX 6950 XT (RDNA2 / RADV)
  • Proton-CachyOS 11.0 (20260601-slr-x86_64_v3)
  • xmem upstream 00aa4d3 plus local VICTORY_PAGES_SETTLE_STRIKES=2
  • Xbox Series X profile, title build 1.0.2.1, 3840x2160 output from 2560x1440 internal using the available FidelityFX 3.1.6 upscaler
  • VICTORY_BVH_BUILDER=0 for this run

No game files, screenshots, or full log attached. The local run log records the ambient stand-in activating for Radiance, Resolve, Reflected, ReflectedIn, Alpha, and Air passes. 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

  1. Keep the player stationary in the interior with a visible lamp or phone light and a nearby wall/floor surface in view.
  2. Record the illumination/reflection with the source in view.
  3. Rotate only the camera until the source is just outside the viewport; keep the player and target surface in place, and compare the same surface.
  4. Pan back to the original framing and repeat. Note whether the light fades, cuts off, or returns immediately; repeat for the phone light if possible.

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.

**@⁠diafebus** on GitHub · 2026-12-03 19:16 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/353) # 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 - Fedora 45, kernel 7.3.6 - AMD Radeon RX 6950 XT (RDNA2 / RADV) - Proton-CachyOS 11.0 (`20260601-slr-x86_64_v3`) - xmem upstream `00aa4d3` plus local `VICTORY_PAGES_SETTLE_STRIKES=2` - Xbox Series X profile, title build 1.0.2.1, 3840x2160 output from 2560x1440 internal using the available FidelityFX 3.1.6 upscaler - `VICTORY_BVH_BUILDER=0` for this run No game files, screenshots, or full log attached. The local run log records the ambient stand-in activating for `Radiance`, `Resolve`, `Reflected`, `ReflectedIn`, `Alpha`, and `Air` passes. 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 1. Keep the player stationary in the interior with a visible lamp or phone light and a nearby wall/floor surface in view. 2. Record the illumination/reflection with the source in view. 3. Rotate only the camera until the source is just outside the viewport; keep the player and target surface in place, and compare the same surface. 4. Pan back to the original framing and repeat. Note whether the light fades, cuts off, or returns immediately; repeat for the phone light if possible. 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](https://git.gtahub.st/github/lobomfz--VIctory-xmem/issues/91), which reports local lights/headlights disappearing at close range, and [#61](https://git.gtahub.st/github/lobomfz--VIctory-xmem/issues/61), which concerns the ambient RT band darkening shaded surfaces.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 19:17:39 +00:00
Author
Owner

@⁠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=1 and nothing else changed, all of it was gone, in the same places.

That fits what crates/victory-gpu/src/ambient.rs describes: 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.

**@⁠danfq** on GitHub · 2026-12-05 21:15 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/353#issuecomment-7445492612) 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=1` and nothing else changed, all of it was gone, in the same places. That fits what `crates/victory-gpu/src/ambient.rs` describes: 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.
This discussion has been locked. Commenting is limited to contributors.
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/lobomfz--VIctory-xmem#353
No description provided.