threejs-worldgen
    Preparing search index...

    Interface SkyOptions

    Options for Sky.create: settings plus the objects it works with.

    interface SkyOptions {
        atmosphere?: DeepPartial<AtmosphereOptions>;
        camera?: Camera;
        clock?: DeepPartial<ClockOptions>;
        clouds?: DeepPartial<CloudOptions>;
        lighting?: DeepPartial<LightingOptions>;
        moon?: DeepPartial<MoonDiscOptions>;
        nightLights?: DeepPartial<NightLightsOptions>;
        observer?: DeepPartial<ObserverOptions>;
        renderer?: WebGPURenderer;
        scene?: Scene<Object3DEventMap>;
        seed?: string | number;
        shells?: DeepPartial<ShellsOptions>;
        shootingStars?: DeepPartial<ShootingStarsOptions>;
        stars?: DeepPartial<StarsOptions>;
        sun?: DeepPartial<SunDiscOptions>;
        system?: SystemInput;
        world?: WorldLike;
    }

    Hierarchy (View Summary)

    Index

    Atmosphere physics.

    camera?: Camera

    Camera whose position places the observer (planet frame) and the lights.

    Time: date, time scale, day length, pause.

    Sparse Gaussian clouds.

    Lights, environment, fog and exposure.

    Moon disc and moonlit sky.

    City lights on the night side, seen from altitude.

    Where the observer is and how render space maps onto the planet.

    renderer?: WebGPURenderer

    WebGPURenderer: needed for the environment map and auto exposure. Initialised if needed.

    scene?: Scene<Object3DEventMap>

    Scene: the sky is added to it and drives its environment and fog.

    seed?: string | number

    Seeds the stars, meteors and procedural planets (unless they set their own seed).

    Labelled altitude shells (troposphere, ionosphere, Kármán line, apogee). Off by default.

    Meteors.

    Star field and Milky Way.

    Sun disc.

    system?: SystemInput

    Star system overrides.

    world?: WorldLike

    A threejs-biomes World (or anything shaped like WorldLike).