threejs-grass
    Preparing search index...

    Interface GrassStyle

    The look of a grass field. Every presets entry is a complete GrassStyle.

    interface GrassStyle {
        baseColor: string;
        bladeHeight: number;
        bladeWidth: number;
        clumping: number;
        clumpSize: number;
        colorVariation: number;
        curvature: number;
        density: number;
        heightVariation: number;
        patchiness: number;
        stiffness: number;
        tipColor: string;
        translucency: number;
        widthVariation: number;
    }

    Hierarchy (View Summary)

    Index
    baseColor: string

    Blade colour at the root (any CSS colour).

    bladeHeight: number

    Blade height in metres. Any height works (lawns ~0.1, meadows ~0.5, tall grass 1–3).

    bladeWidth: number

    Blade width at the base in metres.

    clumping: number

    0..1 how strongly blades gather into tufts that splay outwards.

    clumpSize: number

    Tuft diameter in metres.

    colorVariation: number

    0..1 per-blade brightness variation.

    curvature: number

    0..1 natural droop of blades when there is no wind.

    density: number

    Blades per square metre at full density (LOD 0).

    heightVariation: number

    0..1 random height spread per blade.

    patchiness: number

    0..1 field-scale light/dark and dry patches.

    stiffness: number

    Higher = less wind/interaction bending.

    tipColor: string

    Blade colour at the tip (any CSS colour).

    translucency: number

    0..1 how much sunlight shines through blades when back-lit.

    widthVariation: number

    0..1 random width spread per blade.