Skip to content

Interface: AtmoShellParams

Tunable scalar parameters consumed by the atmo shell's procedural fragment shader. Every field is optional; omitted fields keep their current value when passed through AtmoShellHandle.setParams.

Properties

opacity?

ts
optional opacity?: number;

Overall opacity in [0, 1].


turbulence?

ts
optional turbulence?: number;

Strength of multi-scale turbulence — domain-warping FBm distortion applied to the latitude bands. 0 keeps the bands purely latitudinal; 1 shreds them into roiling cells. Defaults to 0.6.


bandiness?

ts
optional bandiness?: number;

Mix factor between latitude bands and free-form turbulence in [0, 1]. 1 = pure horizontal bands (gas-giant classic); 0 = pure swirling cells (volcanic / nebula look). Defaults to 0.55.


bandFreq?

ts
optional bandFreq?: number;

Latitudinal band frequency — 5 = ~5 belts north-to-south. Higher values pack tighter bands. Defaults to 5.


driftSpeed?

ts
optional driftSpeed?: number;

Animation speed multiplier for the drift / turbulence advection. 0 freezes the shell; 2 doubles the rate. Defaults to 1.


storms?

ts
optional storms?: number;

Storm-spot intensity in [0, 1] — sprinkles a few rotating Jupiter-style storm cells. 0 disables them. Defaults to 0.25.


cloudAmount?

ts
optional cloudAmount?: number;

High-altitude cloud cover in [0, 1]. The cloud layer rides on the atmo shell (formerly painted on the rocky surface itself), so the playable sol stays clean while the cloud cover modulates the atmosphere. 0 disables clouds. Defaults to 0.


cloudColor?

ts
optional cloudColor?: string;

Cloud tint, hex string. Defaults to '#e8eaf0' (cool overcast white).


cloudScale?

ts
optional cloudScale?: number;

Cloud-noise scale (≥ 0.1). Higher = more, smaller clouds. Defaults to 1.2.


tileColorMix?

ts
optional tileColorMix?: number;

Per-tile colour mix in [0, 1] — strength of the painted-tile colour over the body-level tint. 0 keeps the procedural tint pure; 1 lets painted resources fully replace it. Defaults to 0.85.


tint?

ts
optional tint?: string;

Body-relative halo tint (hex string, '#rrggbb'). Drives the shell's uTint uniform — Mars rust, Venus yellow, Pluto glacial blue. Live-patchable via AtmoShellHandle.setParams.

Distribué sous la licence indiquée dans le dépôt.