hex-world
    Preparing search index...

    Interface CloudShadowOptions

    Appearance of the drifting cloud shadows in the terrain shader. Unset fields keep their current value.

    interface CloudShadowOptions {
        enabled?: boolean;
        coverage?: number;
        opacity?: number;
        scale?: number;
    }
    Index

    Properties

    enabled?: boolean

    Show or hide cloud shadows. Defaults to true when configureTerrainClouds is called.

    coverage?: number

    Fraction of ground under cloud shadow, 0–1. Default 0.5.

    opacity?: number

    How dark a fully clouded point gets (0 = invisible, 1 = full sun blocked). Default 0.55.

    scale?: number

    Cloud feature size in world units. Default 30 (a few distinct clouds per screen).