Skip to content

AtmosphereModule

Celestial Body Schema / Definitions / AtmosphereModule
Schema Type: JSON Type: object

No Description Found

atmosphereTint

Type: MColor

Colour of atmospheric shader on the planet.

See Definitions/MColor

atmosphereSunIntensity

Type: number Minimum: 0

How intense should the sun appear in the sky.
Also affects general atmosphere brightness.
Default value of 1 matches Timber Hearth.
If not set, this will be determined based off the distance to the sun.


clouds

Type: CloudInfo

Describes the clouds in the atmosphere

See Definitions/CloudInfo

fogDensity

Type: number Minimum: 0

How dense the fog is, if you put fog.


fogSize

Type: number Minimum: 0

Radius of fog sphere, independent of the atmosphere. This has to be set for there to be fog.


fogTint

Type: MColor

Colour of fog on the planet, if you put fog.

See Definitions/MColor

fogRampPath

Type: string

Relative filepath to the fog color ramp texture, if you put fog.
x axis is angle to sun (left at midnight, right at noon), y axis is distance to camera (close at bottom, far at top).


hasOxygen

Type: boolean

Lets you survive on the planet without a suit.


hasTrees

Type: boolean

Does this planet have trees? This will change the notification from "Oxygen tank refilled" to "Trees detected, oxygen tank refilled".


hasRain

Type: boolean

Does this planet have rain?
This is equivalent to effects of setting a rain particle/vection field, rain audio volume, and visor effect volume, combined for convenience.
For more control over the rain, use those individual components.


size

Type: number

Scale height of the atmosphere


useAtmosphereShader

Type: boolean

Whether we use an atmospheric shader on the planet. Doesn't affect clouds, fog, rain, snow, oxygen, etc. Purely
visual.


hasShockLayer

Type: boolean Default: true

Whether this atmosphere will have flames appear when your ship goes a certain speed.


minShockSpeed

Type: number Default: 100

Minimum speed that your ship can go in the atmosphere where flames will appear.


maxShockSpeed

Type: number Default: 300

Maximum speed that your ship can go in the atmosphere where flames will appear at their brightest.