Skip to main content

Module atmosphere

Module atmosphere 

Source
Expand description

Provides types to specify atmosphere lighting, scattering terms, etc.

Structs§

Atmosphere
Atmosphere for one planet. The entity’s GlobalTransform is the planet center in world space.
AtmosphereTemplate
ScatteringMedium
An asset that defines how a material scatters light.
ScatteringTerm
An individual element of a ScatteringMedium.

Enums§

Falloff
Describes how the media in a ScatteringTerm is distributed.
PhaseFunction
Describes how a ScatteringTerm scatters light in different directions.

Functions§

extract_chromatic_phase_textures
Resolves PhaseFunction::ChromaticTexture to PhaseFunction::ChromaticCurve when the image loads.