Hilo3d API - v2.0.0-alpha.4
    Preparing search index...

    Interface PhysicalAtmosphereOptions

    Rayleigh, Mie, ozone, sun, and aerial-perspective configuration.

    interface PhysicalAtmosphereOptions {
        aerialPerspectiveDistance?: number;
        atmosphereHeight?: number;
        groundAlbedo?: Readonly<Color>;
        mieAnisotropy?: number;
        mieScaleHeight?: number;
        ozoneCenterHeight?: number;
        ozoneWidth?: number;
        planetCenter?: Readonly<Vector3>;
        planetRadius?: number;
        rayleighScaleHeight?: number;
        sunAngularRadius?: number;
        sunColor?: Readonly<Color>;
        sunIlluminance?: number;
    }
    Index
    aerialPerspectiveDistance?: number

    Maximum aerial-perspective distance. Defaults to 160,000.

    atmosphereHeight?: number

    Atmosphere height above the planet surface. Defaults to 100,000.

    groundAlbedo?: Readonly<Color>

    Ground albedo used by the multi-scattering approximation.

    mieAnisotropy?: number

    Mie phase anisotropy in [0, 0.95]. Defaults to 0.8.

    mieScaleHeight?: number

    Mie density scale height. Defaults to 1,200.

    ozoneCenterHeight?: number

    Ozone layer center altitude. Defaults to 25,000.

    ozoneWidth?: number

    Ozone triangular half-width. Defaults to 15,000.

    planetCenter?: Readonly<Vector3>

    World-space planet center. Defaults to (0, -planetRadius, 0).

    planetRadius?: number

    Planet radius in world units. Defaults to 6,360,000.

    rayleighScaleHeight?: number

    Rayleigh density scale height. Defaults to 8,000.

    sunAngularRadius?: number

    Angular sun-disc radius in degrees. Defaults to 0.27.

    sunColor?: Readonly<Color>

    Linear sun tint. Defaults to warm white.

    sunIlluminance?: number

    Solar illuminance multiplier. Defaults to 20.