threejs-worldgen
    Preparing search index...

    Interface SampleFieldOptions

    interface SampleFieldOptions {
        channels: readonly StateChannel[];
        mode: "max" | "replace";
        stride: number;
    }
    Index
    channels: readonly StateChannel[]

    Channels to copy. Default: all four.

    mode: "max" | "replace"

    max keeps the larger value (scars stay), replace copies the field. Default max.

    stride: number

    Floats per instance in positions (x at 0, z at 2). Default 3.