diff options
| author | Valentin Popov <valentin@popov.link> | 2026-10-11 17:25:33 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-10-11 17:25:33 +0300 |
| commit | 45fcf0eb50b4e93cc3900671859cb20d8b1c34d0 (patch) | |
| tree | 247232b4bf0c602ae23faa499e852270959cf501 /docs | |
| parent | 85441bd2bfb2ae49d10a90b2d897813bc087970d (diff) | |
| download | fparkan-45fcf0eb50b4e93cc3900671859cb20d8b1c34d0.tar.xz fparkan-45fcf0eb50b4e93cc3900671859cb20d8b1c34d0.zip | |
Use native heading for sky gradient
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/reference/render-frame.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/reference/render-frame.md b/docs/reference/render-frame.md index c82fbb0..2c356dc 100644 --- a/docs/reference/render-frame.md +++ b/docs/reference/render-frame.md @@ -100,6 +100,15 @@ receives real frame time. `simulation_time_seconds`, weather, RNG and complete mission state remain unknown, and a camera/phase match alone does not establish visual parity with a native frame. +The preview's sky heading is `atan2(forward.x, forward.y)`, matching the second +output calculated at `Terrain.dll` RVA `0x4F9C0`; `CSky` adds π at RVA `0x481C5` +when selecting screen-gradient sectors. This mapping is applied only at the sky +boundary and does not change `FreeFlightCamera` yaw or movement controls. +Matched same-camera, same-phase three-frame captures at phases 56.227 and +998.893 showed zero changed pixels before and after this correction; the +remaining sky and color mismatch is unresolved, so this source-level match does +not establish visual parity. + ## Parity risks `VulkanStaticCamera::from_legacy_d3d7` keeps the D3D7 view and projection |
