Constructors

Properties

atmosphereRadius: number

Radius of the atmosphere in meters (planetRadius + 100km in the case of Earth)

lightIntensity: number

Intensity of the sun

mieAsymmetry: number

Mie scattering asymmetry factor (between -1 and 1)

mieHeight: number

Height falloff of mie scattering (bigger = slower decrease)

mieScatteringCoefficients: Vector3

Mie scattering coefficients (red, green, blue)

ozoneAbsorptionCoefficients: Vector3

Ozone absorption coefficients (red, green, blue)

ozoneFalloff: number

Ozone absorption falloff around the ozone layer height (in meters)

ozoneHeight: number

Height of the ozone layer in meters above the planet surface

rayleighHeight: number

Height falloff of rayleigh scattering (bigger = slower decrease)

rayleighScatteringCoefficients: Vector3

Rayleigh scattering coefficients (red, green, blue)

Methods