Strata - v1.4.10
    Preparing search index...

    Interface CloudLayerConfig

    Configuration for a single cloud layer.

    Defines visual appearance, position, and density parameters for a 2D cloud plane.

    interface CloudLayerConfig {
        altitude: number;
        cloudColor: Color;
        coverage: number;
        density: number;
        scale?: number;
        shadowColor: Color;
    }
    Index

    Properties

    altitude: number

    Altitude of the cloud layer in world units.

    Y-position where this layer is rendered in 3D space.

    cloudColor: Color

    Base color of the clouds (lit surfaces).

    coverage: number

    Cloud coverage (0-1).

    Percentage of sky covered by clouds:

    • 0 = Clear sky
    • 0.5 = Partly cloudy
    • 1.0 = Complete overcast
    density: number

    Density of the clouds (0-2+).

    Controls opacity and visual thickness:

    • 0.5 = Wispy, semi-transparent
    • 1.0 = Standard cumulus
    • 1.5+ = Dense, thick clouds
    scale?: number

    Scale of the cloud noise pattern.

    Default: 5.0

    Smaller values create large cloud formations; larger values create fine detail.

    shadowColor: Color

    Color of cloud shadows (occluded regions).