threejs-worldgen
    Preparing search index...

    Interface SurfaceSample

    Rain and snow accumulated on the ground (see Weather.surfaceAt).

    interface SurfaceSample {
        snow: number;
        snowDepth: number;
        water: number;
        wetness: number;
    }
    Index
    snow: number

    Snow cover 0…1. Feeds the snow material state.

    snowDepth: number

    Snow pack, mm water equivalent (≈ ×10 for fresh snow depth in mm).

    water: number

    Standing water, mm.

    wetness: number

    How wet surfaces are, 0…1. Feeds the wetness material state.