hex-world
    Preparing search index...

    Interface SkirtMaterialOptions

    Look of the cut earth. Every colour is a soil tone; the defaults are a loam palette.

    interface SkirtMaterialOptions {
        lightDir?: Vector3;
        lightColor?: Color;
        ambient?: Color;
        soilTop?: ColorRepresentation;
        soilDeep?: ColorRepresentation;
        soilPale?: ColorRepresentation;
        topsoil?: ColorRepresentation;
        topsoilDepth?: number;
        waterColor?: ColorRepresentation;
        bandScale?: number;
        bandWobble?: number;
        bandContrast?: number;
        grain?: number;
        deepen?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    lightDir?: Vector3

    Match the terrain's, so the wall shades with the ground.

    lightColor?: Color
    ambient?: Color
    soilTop?: ColorRepresentation

    Lighter end of the soil range. Default 0x8a6a45.

    soilDeep?: ColorRepresentation

    Darker end. Default 0x4a3524.

    soilPale?: ColorRepresentation

    The pale sandy layer a minority of bands wash toward. Default 0xb09a72.

    topsoil?: ColorRepresentation

    The dark line directly under the ground surface. Default 0x33261a.

    topsoilDepth?: number

    How thick that line is, in world units. Default 0.35.

    waterColor?: ColorRepresentation

    Colour of the water cross-section above the sea bed. Default 0x1d3f5c.

    bandScale?: number

    Bands per world unit — higher is finer bedding. Default 1.6.

    bandWobble?: number

    How much the layers wander off level, in world units. Default 0.5.

    bandContrast?: number

    How far bands stray toward the pale end, 0–1. Default 0.85.

    grain?: number

    Strength of the fine surface grain, 0–1. Default 0.35.

    deepen?: number

    How fast the soil darkens with depth, per world unit. Default 0.08.