# Player-car source sky environment fallback, r402

## Finding

The packaged viewer's old environment lookup searched for a material named
`SKYDOME_LOC4DYNTEX_*`. The current clean regional exports instead name the
two dynamic sky meshes `SKYDOME_0_0` and `SKYDOME_0_1`; their materials inherit
the texture-hash names `prop_TRACKS_2414a01e` and `prop_TRACKS_5fb8bcd1`.
Because the name lookup found nothing, the player renderer reported
`environmentTextureIndex: -1` even though the retail sky inputs were present.

The L4RA source `SKYDOME_0_0` primitive points to texture key `0x2414a01e`,
decoded from `TRACKS/LOC4DYNTEX.BIN` as a 512x128 cloud panorama. `SKYDOME_0_1`
points to `0x5fb8bcd1`, a 256x256 cloud layer. The similarly named
`ARC_SKYDOME_A_LL` material uses a separate 256x256 star image, so it is not
the environment fallback. The same two `SKYDOME_0_*` source meshes are in all
eight current region exports.

The viewer now finds the texture through the `SKYDOME_0_0` source mesh and
retains it through neighborhood streaming. It keeps the older material-name
lookup as a fallback for legacy exports. In the normal vehicle shader, the
locally captured city cube is preferred once ready; the 2D panorama remains
the source-backed fallback. `?debugReflection=sky` forces the 2D map onto the
painted surfaces for inspection and is not the default driving appearance.

## Host Chrome check

The packaged L4RA viewer reached `City scene ready` in Chrome 150 / WebGL2 on
the Quadro host, uploaded all 223 nearby city textures, retained 89,205 nearby
triangles and 832 routes, and reported no page exceptions or console errors.
The player debug record now reports environment texture index 781,
`TRACKS_2414a01e`, loaded, and a ready local city probe. A brief W hold moved
the 240SX to 9 mph in first gear.

The normal capture still shows a pale, mostly flat body and dark windows. The
forced sky-only diagnostic confirms the extracted panorama reaches the body
shader, but it is intentionally a debug view and does not calibrate the
retail paint color, environment blend, or clearcoat. The missing player paint
texture and runtime material selector remain unresolved.

- Normal drive: `webgl-city/review/images/541-r402-source-sky-env-normal.png`
- Forced panorama diagnostic:
  `webgl-city/review/images/542-r402-sky-only-diagnostic.png`
