threejs-worldgen
    Preparing search index...

    Interface GroundOptions

    How the ground material mix reacts to slope, cold and water.

    interface GroundOptions {
        colors: Record<GroundMaterial, string>;
        rockSlope: number;
        sandBand: number;
        snowTemperature: number;
    }
    Index
    colors: Record<GroundMaterial, string>

    Colours of the ground materials (#rrggbb).

    rockSlope: number

    Slope (rise/run) where bare rock takes over.

    sandBand: number

    Height band around sea level that is sand, metres.

    snowTemperature: number

    Temperature (°C, after altitude) below which snow settles.