D3D12, RT off: daytime indoor glass glare obscures the phone screen #3267

Open
leonida/mandy
opened 2026-12-02 23:49:27 +00:00 by YanTianlong-01 · 4 comments
YanTianlong-01 commented 2026-12-02 23:49:27 +00:00

What happens

With ray tracing off, bright blue-white reflections cover indoor glass and make the phone screen unreadable in daylight. The same problem was not observed indoors at night.

Commit

a917c54 (D3D12 build with local NVAPI loading and FidelityFX size-handling patches)

System

Windows 11 24H2 (26100.4652), AMD Ryzen 7 9700X, NVIDIA RTX PRO 5000 Blackwell (48 GB), NVIDIA driver 596.86

Where

runtime

Command and steps

I used the D3D12 runtime with the Series X profile. My local launcher calls scripts/play-d3d12.ps1 with -Game <game-dir> -Data <runtime-dir> -SeriesX -Dlss balanced -FrameGen 2 -PrecompileAll. Ray tracing is off.

The render resolution is 1920×1080 and the output is 3840×2160 (LEONIDA_RENDER_SCALE=0.5, LEONIDA_OUTPUT=3840x2160, LEONIDA_DLSS_QUALITY=1). The baseline uses LEONIDA_AMBIENT_ALPHA=4 and LEONIDA_REFLECT_MOST=0.5, with LEONIDA_AMBIENT_BLUE off.

  1. Load a story save during the day and go inside Jason's house.
  2. Look at the indoor glass, then take out the in-game phone and try to read its screen.
  3. Repeat indoors at night.

Actual. In daylight, indoor glass shows strong blue-white glare. The glare covers the phone screen and makes its contents unreadable. Indoors at night, the glass and phone screen display normally.

Expected. The phone screen should remain readable indoors in daylight, with reflections appropriate to the room's lighting.

The rendering notes mention blue on glass. This may be related. I haven't isolated the source of the glare on the phone.

01-daylight-phone-rt-off

Output

Visual rendering issue. The game continues running. No console error specific to this symptom was identified.
### What happens With ray tracing off, bright blue-white reflections cover indoor glass and make the phone screen unreadable in daylight. The same problem was not observed indoors at night. ### Commit a917c54 (D3D12 build with local NVAPI loading and FidelityFX size-handling patches) ### System Windows 11 24H2 (26100.4652), AMD Ryzen 7 9700X, NVIDIA RTX PRO 5000 Blackwell (48 GB), NVIDIA driver 596.86 ### Where runtime ### Command and steps I used the D3D12 runtime with the Series X profile. My local launcher calls `scripts/play-d3d12.ps1` with `-Game <game-dir> -Data <runtime-dir> -SeriesX -Dlss balanced -FrameGen 2 -PrecompileAll`. Ray tracing is off. The render resolution is 1920×1080 and the output is 3840×2160 (`LEONIDA_RENDER_SCALE=0.5`, `LEONIDA_OUTPUT=3840x2160`, `LEONIDA_DLSS_QUALITY=1`). The baseline uses `LEONIDA_AMBIENT_ALPHA=4` and `LEONIDA_REFLECT_MOST=0.5`, with `LEONIDA_AMBIENT_BLUE` off. 1. Load a story save during the day and go inside Jason's house. 2. Look at the indoor glass, then take out the in-game phone and try to read its screen. 3. Repeat indoors at night. **Actual.** In daylight, indoor glass shows strong blue-white glare. The glare covers the phone screen and makes its contents unreadable. Indoors at night, the glass and phone screen display normally. **Expected.** The phone screen should remain readable indoors in daylight, with reflections appropriate to the room's lighting. The [rendering notes](https://github.com/ProjectLeonida/mandy/blob/a917c54d6aff8c9ef5dda2d8ebf938cb5c693902/d3d12/docs/findings.md#L352-L359) mention blue on glass. This may be related. I haven't isolated the source of the glare on the phone. <img width="1920" height="1080" alt="01-daylight-phone-rt-off" src="https://github.com/user-attachments/assets/9a365cd7-4ffc-45c4-8e8c-d2c705932810" /> ### Output ```text Visual rendering issue. The game continues running. No console error specific to this symptom was identified. ```
MoonEyes commented 2026-12-03 17:28:19 +00:00

This was generated by AI during triage.

Triage Notes

What we've established so far:

  • The report gives a specific daylight interior reproduction on the Series X profile with ray tracing off; the phone remains readable indoors at night.
  • The tested build includes local NVAPI-loading and FidelityFX size-handling patches, so it is not clear whether the same glare appears on an unmodified current main build.

What we still need from you (@YanTianlong-01):

  • Please confirm whether the glare reproduces on current main without those local patches, with the same save/location and resolution/upscaler settings. If it does, include a comparison with the ambient/reflect switches at their defaults.
> *This was generated by AI during triage.* ## Triage Notes **What we've established so far:** - The report gives a specific daylight interior reproduction on the Series X profile with ray tracing off; the phone remains readable indoors at night. - The tested build includes local NVAPI-loading and FidelityFX size-handling patches, so it is not clear whether the same glare appears on an unmodified current `main` build. **What we still need from you (@YanTianlong-01):** - Please confirm whether the glare reproduces on current `main` without those local patches, with the same save/location and resolution/upscaler settings. If it does, include a comparison with the ambient/reflect switches at their defaults.

Thanks for the follow-up. I reproduced the daytime indoor phone glare on an unmodified build of acb0657e, the last upstream main commit I was able to verify. This build uses the upstream NVAPI and FidelityFX code without my local patches.

I used the Series X profile with ray tracing off, the default 2560×1440 output, dynamic internal resolution, and the game's built-in upscaler. DLSS and frame generation were disabled. The ambient and reflection settings were at their defaults, including LEONIDA_AMBIENT_ALPHA=4 and LEONIDA_REFLECT_MOST=0.5. The glare still obscured the phone screen indoors during daylight.

This confirms that the issue can occur without my local patches.

Thanks for the follow-up. I reproduced the daytime indoor phone glare on an unmodified build of acb0657e, the last upstream main commit I was able to verify. This build uses the upstream NVAPI and FidelityFX code without my local patches. I used the Series X profile with ray tracing off, the default 2560×1440 output, dynamic internal resolution, and the game's built-in upscaler. DLSS and frame generation were disabled. The ambient and reflection settings were at their defaults, including LEONIDA_AMBIENT_ALPHA=4 and LEONIDA_REFLECT_MOST=0.5. The glare still obscured the phone screen indoors during daylight. This confirms that the issue can occur without my local patches.
Contributor

The paired comparison is still pending. The next check is a synthetic A/B with a generated bright scene and a high-contrast display target. It will compare LEONIDA_REFLECT_MOST values of 0.5 and 0.25 at identical camera and exposure settings, with ray tracing and frame generation disabled. On matched frames I will measure contrast inside the target and reflected luminance outside it.

The paired comparison is still pending. The next check is a synthetic A/B with a generated bright scene and a high-contrast display target. It will compare LEONIDA_REFLECT_MOST values of 0.5 and 0.25 at identical camera and exposure settings, with ray tracing and frame generation disabled. On matched frames I will measure contrast inside the target and reflected luminance outside it.
Contributor

I checked the proposed LEONIDA_REFLECT_MOST comparison with generated CPU inputs. In a synthetic control, the median display luma went from 0.90 to 0.35 and glyph luma from 0.95 to 0.80. The glyph-to-display luma gap increased from 0.05 to 0.45.

All five CPU tests passed. The checker requires the same camera and exposure, equally sized probe regions, and a stable neutral reference. A GPU comparison at 0.5 and 0.25 remains to be run. Comparison plan

AI-assisted.

I checked the proposed `LEONIDA_REFLECT_MOST` comparison with generated CPU inputs. In a synthetic control, the median display luma went from `0.90` to `0.35` and glyph luma from `0.95` to `0.80`. The glyph-to-display luma gap increased from `0.05` to `0.45`. All five CPU tests passed. The checker requires the same camera and exposure, equally sized probe regions, and a stable neutral reference. A GPU comparison at `0.5` and `0.25` remains to be run. [Comparison plan](https://git.leonida.now/leonida/mandy/issues/3267#issuecomment-26425) AI-assisted.
Sign in to join this conversation.
No assignees
No project
No milestone
Dependencies

No dependencies set

Notifications
3 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
leonida/mandy#3267
No description provided.