threejs-grass
    Preparing search index...

    Interface Brush

    A soft round brush used by GrassMap.paint and TerrainPainter.

    interface Brush {
        mode: BrushMode;
        radius: number;
        strength: number;
    }
    Index
    mode: BrushMode

    What the stroke does: add/erase coverage or raise/lower height.

    radius: number

    World radius in metres.

    strength: number

    0..1 amount applied per stroke event at the brush center.