Absorption / Ozone component.
Radius of the planet (center to ground) in kilometers.
Center of the atmosphere.
The average albedo of the ground used to model light bounced off the planet's surface.
Height of atmosphere (distance from bottomRadius to atmosphere top) in kilometers.
Clamped to max(height, 0)
Mie scattering component.
A weight for multiple scattering in the atmosphere.
Rayleigh scattering component.
Atmosphere parameters.
The atmosphere is modelled as a sphere around a spherical planet.