hex-world
    Preparing search index...

    Interface FbmTerrainOptions

    interface FbmTerrainOptions {
        period?: number;
        octaves?: number;
        amplitude?: number;
        elevOffset?: number;
        elevScale?: number;
        waterThreshold?: number;
        desertThreshold?: number;
        mudThreshold?: number;
        rockThreshold?: number;
        snowThreshold?: number;
        noiseOffsetX?: number;
        noiseOffsetZ?: number;
    }
    Index

    Properties

    period?: number

    Horizontal period in cells. Default 64.

    octaves?: number

    FBM octave count. Default 6.

    amplitude?: number

    Multiplier applied to the raw FBM output to spread the distribution. Default 2.2.

    elevOffset?: number

    Elevation offset added after rounding (land >= 0, water < 0). Default 4.

    elevScale?: number

    Multiplier on n before rounding to elevation steps — higher values create steeper cliffs. Default 16.

    waterThreshold?: number

    FBM threshold below which cells become Water. Default -0.55.

    desertThreshold?: number

    FBM threshold above which cells become Desert (and below waterThreshold). Default -0.38.

    mudThreshold?: number

    FBM threshold above which cells become Mud (thin band between desert and grassland). Default -0.28.

    rockThreshold?: number

    FBM threshold above which cells become Rock (below snowThreshold). Default 0.42.

    snowThreshold?: number

    FBM threshold above which cells become Snow. Default 0.72.

    noiseOffsetX?: number

    World-space X offset added to noise input — use to shift to a different region of noise space. Default 0.

    noiseOffsetZ?: number

    World-space Z offset added to noise input. Default 0.