threejs-worldgen
    Preparing search index...

    Interface TerrainMaterialOptions

    Look of the terrain surface. All values are live through the returned uniforms.

    interface TerrainMaterialOptions {
        brightness: number;
        bump: number;
        debug: TerrainDebug;
        detail: number;
        detailDistance: number;
        detailScale: number;
        saturation: number;
        wireframe: boolean;
    }
    Index
    brightness: number

    Overall brightness multiplier of the ground colour.

    bump: number

    Bump strength of the micro relief.

    Debug view: biomes (biome map colours), lod (tint by quadtree level), splat (rock/snow/sand/wet).

    detail: number

    Strength of the procedural colour variation and micro bumps (0 = flat vertex colours).

    detailDistance: number

    Distance over which detail fades out, metres.

    detailScale: number

    Scale multiplier of the detail noise (higher = finer).

    saturation: number

    Saturation multiplier of the ground colour (1 = as generated).

    wireframe: boolean

    Draw as wireframe.