hex-world
    Preparing search index...

    Interface AtmosphereOptions

    Distance haze styling. Unset fields keep their current value.

    interface AtmosphereOptions {
        enabled?: boolean;
        color?: ColorRepresentation;
        near?: number;
        far?: number;
        density?: number;
    }
    Index

    Properties

    enabled?: boolean

    Show or hide the haze. Defaults to true when configureAtmosphere is called.

    color?: ColorRepresentation

    The color surfaces fade into — normally the sky's horizon color.

    near?: number

    Ground distance where the haze starts, world units. Default 55.

    far?: number

    Ground distance where the haze reaches full strength. Default 170.

    density?: number

    How completely the farthest surfaces dissolve, 0–1. Default 1 (they read as pure sky). Drop toward 0.8 to keep distant silhouettes readable.