Haze: derive start distance and max opacity from the sky's existing haze values #1267

Closed
opened 2026-10-28 22:47:34 +00:00 by sky_line · 1 comment
Owner

Part of #1266.

The core of the guardrails: every sky in SL gets sensible haze limits with no new data.

  • Derive start distance (no haze within N m of the camera) and max opacity (haze never exceeds this; geometry stays readable) from what every EEP sky already has: haze_density, density_multiplier, distance_multiplier, max_y, and the light level.
  • Tune so existing skies keep their creators' intent (a foggy sky still reads as foggy) but can't erase the scene; include heavy-haze night skies (the case that prompted this) and Midday Legacy as references.
  • Used whenever the sky doesn't carry saved values (see the EEP-keys ticket), and under the user's override (Photo Studio ticket).
  • Logs the derived values once per sky change (debug tag), so a bad derivation is diagnosable from a report.

Test-Plan sketch: a set of reference skies (Midday Legacy, default night, a heavy-haze region night sky, a foggy creator sky) captured before/after at a fixed camera; no scene fully washed out, foggy skies still foggy.

Part of #1266. The core of the guardrails: every sky in SL gets sensible haze limits with no new data. - Derive **start distance** (no haze within N m of the camera) and **max opacity** (haze never exceeds this; geometry stays readable) from what every EEP sky already has: `haze_density`, `density_multiplier`, `distance_multiplier`, `max_y`, and the light level. - Tune so existing skies keep their creators' intent (a foggy sky still reads as foggy) but can't erase the scene; include heavy-haze night skies (the case that prompted this) and Midday Legacy as references. - Used whenever the sky doesn't carry saved values (see the EEP-keys ticket), and under the user's override (Photo Studio ticket). - Logs the derived values once per sky change (debug tag), so a bad derivation is diagnosable from a report. Test-Plan sketch: a set of reference skies (Midday Legacy, default night, a heavy-haze region night sky, a foggy creator sky) captured before/after at a fixed camera; no scene fully washed out, foggy skies still foggy.
sky_line added this to the Slipstream project 2026-10-28 22:47:34 +00:00
Author
Owner

Shipped in 1.5.0 Beta 5 (2026-10-29).

Shipped in **1.5.0 Beta 5** (2026-10-29).
Sign in to join this conversation.
No milestone
No project
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
sky_line/Slipstream#1267
No description provided.