Milky haze indoors (house at night, garages, wardrobe): the air stand-in seems lit by the sky's probes (ray tracing off) #1395

Closed
opened 2026-11-28 18:49:17 +00:00 by tippythetaidum · 3 comments
tippythetaidum commented 2026-11-28 18:49:17 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tippythetaidum on 2026-11-28T18:49:17Z.


PC: RTX 5080 16 GB (driver 621.14), Ryzen 7 9800X3D, 32 GB, Windows 11 26200.
Build: main 63b902f plus #393, and later 9300875 plus #393, #1014, #1197, #1264 and #1271, release. Series X 2560x1440, DLSS Quality and later Performance, DLSS frame generation 4x, ray tracing off. Launcher defaults: VICTORY_AMBIENT=0.8, VICTORY_AMBIENT_AIR=1.5, VICTORY_AMBIENT_SPECULAR=1.

What happens

Indoors, the air is often a milky haze that lowers the contrast of the whole room, as if a fog were lit by daylight. Over about 3 hours of play, with pictures of the window every 5 to 30 s, I noted it in about 40 pictures. Most of them are interiors:

  • Jason's house at night (living room, kitchen): the whole room milky with a green cast, low contrast;
  • the wardrobe menu at night (bedroom, lamp lit): the left half of the picture a milky glow, every time the wardrobe opens;
  • the mechanic's garage and mod shop menus, by day and by night: the whole garage a milky grey fog, also behind the Pro Builds menu;
  • the shower: very thick fog (steam may be right there, but it hides everything);
  • a bright window from inside: a large white-green glow around it.

Outdoors it's rarer: milky streaks around dock posts in the mangroves, and haze among the trees that may be sunbeams.

What I think it is (not verified)

crates/victory-gpu/src/ambient.rs says so itself: "The air of a room is lit by the same probes: without rays they hold the sky's light indoors too, a brown veil at sunset. VICTORY_AMBIENT_AIR bounds what the air scatters by a multiple of the light around." With ray tracing off, the volumetric air indoors seems to be lit by probes that see the sky, and the launcher's bound of 1.5x the light around still leaves a visible veil in dark rooms.

I haven't A/B tested it yet. Next I'll compare VICTORY_AMBIENT_AIR=1.5 (the launcher's), 1 and unset (the title's own) in the same rooms (the garage, the house at night) and post the result.

Searched: no open or closed issue here about haze, milky fog or VICTORY_AMBIENT_AIR.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6669792281 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1395). Originally posted by [tippythetaidum](https://github.com/tippythetaidum) on 2026-11-28T18:49:17Z. --- **PC:** RTX 5080 16 GB (driver 621.14), Ryzen 7 9800X3D, 32 GB, Windows 11 26200. **Build:** main `63b902f` plus #393, and later `9300875` plus #393, #1014, #1197, #1264 and #1271, release. Series X 2560x1440, DLSS Quality and later Performance, DLSS frame generation 4x, ray tracing off. Launcher defaults: `VICTORY_AMBIENT=0.8`, `VICTORY_AMBIENT_AIR=1.5`, `VICTORY_AMBIENT_SPECULAR=1`. ### What happens Indoors, the air is often a milky haze that lowers the contrast of the whole room, as if a fog were lit by daylight. Over about 3 hours of play, with pictures of the window every 5 to 30 s, I noted it in about 40 pictures. Most of them are interiors: - **Jason's house at night** (living room, kitchen): the whole room milky with a green cast, low contrast; - **the wardrobe menu at night** (bedroom, lamp lit): the left half of the picture a milky glow, every time the wardrobe opens; - **the mechanic's garage and mod shop menus**, by day and by night: the whole garage a milky grey fog, also behind the Pro Builds menu; - **the shower**: very thick fog (steam may be right there, but it hides everything); - **a bright window from inside**: a large white-green glow around it. Outdoors it's rarer: milky streaks around dock posts in the mangroves, and haze among the trees that may be sunbeams. ### What I think it is (not verified) `crates/victory-gpu/src/ambient.rs` says so itself: "The air of a room is lit by the same probes: without rays they hold the sky's light indoors too, a brown veil at sunset. `VICTORY_AMBIENT_AIR` bounds what the air scatters by a multiple of the light around." With ray tracing off, the volumetric air indoors seems to be lit by probes that see the sky, and the launcher's bound of 1.5x the light around still leaves a visible veil in dark rooms. I haven't A/B tested it yet. Next I'll compare `VICTORY_AMBIENT_AIR=1.5` (the launcher's), `1` and unset (the title's own) in the same rooms (the garage, the house at night) and post the result. Searched: no open or closed issue here about haze, milky fog or `VICTORY_AMBIENT_AIR`.
github-actions[bot] commented 2026-11-28 18:49:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T18:49:26Z.


Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7244080783 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1395#issuecomment-7244080783). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T18:49:26Z. --- Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
dheerajc8073 commented 2026-11-29 03:12:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dheerajc8073 on 2026-11-29T03:12:59Z.


Submitted PR #1930 addressing this:

  • Root cause: In crates/victory-gpu/src/ambient.rs, clear_air runs after CS_AccumulateLocalLightInscatteringVolume (Role::Air) to cap inscattering and prevent sky probes from flooding rooms when ray tracing is off. Previously, cap evaluated to air * lerp(cells_luma, seen_luma, far). Near the camera (far = 0), cap evaluated directly to air * cells_luma. In dark rooms (Jason's house at night, garages, showers) and menus (wardrobe, mod shop), cells_luma is inflated by bright UI text, lamps, or outdoor history, allowing probe sky light to enter dark interiors unclamped as a milky veil.
  • Fix: Bounded the near-field ambient light by min(cells_luma, seen_luma). In dark rooms and menus, the inscattering cap cannot exceed the local surface radiance in that direction, eliminating the milky haze and restoring indoor contrast. Transitions looking towards bright windows interpolate smoothly from room ambient to window ambient without creating an artificial glow halo around the window frame.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7249911774 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1395#issuecomment-7249911774). Originally posted by [dheerajc8073](https://github.com/dheerajc8073) on 2026-11-29T03:12:59Z. --- Submitted PR #1930 addressing this: - **Root cause**: In `crates/victory-gpu/src/ambient.rs`, `clear_air` runs after `CS_AccumulateLocalLightInscatteringVolume` (`Role::Air`) to cap inscattering and prevent sky probes from flooding rooms when ray tracing is off. Previously, `cap` evaluated to `air * lerp(cells_luma, seen_luma, far)`. Near the camera (`far = 0`), `cap` evaluated directly to `air * cells_luma`. In dark rooms (Jason's house at night, garages, showers) and menus (wardrobe, mod shop), `cells_luma` is inflated by bright UI text, lamps, or outdoor history, allowing probe sky light to enter dark interiors unclamped as a milky veil. - **Fix**: Bounded the near-field ambient light by `min(cells_luma, seen_luma)`. In dark rooms and menus, the inscattering cap cannot exceed the local surface radiance in that direction, eliminating the milky haze and restoring indoor contrast. Transitions looking towards bright windows interpolate smoothly from room ambient to window ambient without creating an artificial glow halo around the window frame.
Yoshi-233 commented 2026-11-29 09:45:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoshi-233 on 2026-11-29T09:45:57Z.


I measured the added sky light on the wood floor in Jason’s living room on a 4070 Ti SUPER, with the BVH builder off, Series X and DLSS Quality (1440p input, 4K output). On one frame, reading the same floor and chair region immediately before and after the atmosphere composite gave median linear RGB increments of +0.0110, +0.0170 and +0.0336. At the foot of the chair, luminance rose from 0.0046 to 0.0271.

I compared a narrower correction over three on/off pairs with the same camera. It limits added cool light on nearby surfaces carrying stencil bit 0x08 when the measured air transmittance is above 0.985. The blue channel of the shadowed floor went 103→94, 108→93 and 101→93 on the 0–255 display scale. The lamp core stayed around 254. In a raw captured frame the correction changed zero pixels outside the stencil selection or beyond 20 metres. This covers this room in daylight. The garage, wardrobe at night and shower still need matched observations.

The near-white window glass persisted with this correction. I recorded its HDR-to-display measurements separately in #2124.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253981049 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1395#issuecomment-7253981049). Originally posted by [Yoshi-233](https://github.com/Yoshi-233) on 2026-11-29T09:45:57Z. --- I measured the added sky light on the wood floor in Jason’s living room on a 4070 Ti SUPER, with the BVH builder off, Series X and DLSS Quality (1440p input, 4K output). On one frame, reading the same floor and chair region immediately before and after the atmosphere composite gave median linear RGB increments of +0.0110, +0.0170 and +0.0336. At the foot of the chair, luminance rose from 0.0046 to 0.0271. I compared a narrower correction over three on/off pairs with the same camera. It limits added cool light on nearby surfaces carrying stencil bit 0x08 when the measured air transmittance is above 0.985. The blue channel of the shadowed floor went 103→94, 108→93 and 101→93 on the 0–255 display scale. The lamp core stayed around 254. In a raw captured frame the correction changed zero pixels outside the stencil selection or beyond 20 metres. This covers this room in daylight. The garage, wardrobe at night and shower still need matched observations. The near-white window glass persisted with this correction. I recorded its HDR-to-display measurements separately in #2124.
Sign in to join this conversation.
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA#1395
No description provided.