Options accepted by paintWoodPlank.

interface PaintWoodPlankOptions {
    bevel?: number;
    color?: [number, number, number];
    normalStrength?: number;
    planks?: number;
    rings?: number;
    roughness?: number;
    seam?: number;
}

Properties

bevel?: number

Plank-edge bevel, as a fraction of plank width. Default 0.04.

color?: [number, number, number]

Wood base colour. Default [0.52, 0.38, 0.25] (warm oak).

normalStrength?: number

heightToNormal strength. Default 1.4.

planks?: number

Number of planks across the texture. Default 10. Combined with the painter caller's UV scale, this controls how narrow the planks read at the rendered surface. More planks-per-texture means less visible repetition across a tiled surface — at the cost of finer planks at the same uvScale.

rings?: number

Number of growth-ring cycles along the plank's long axis. Default 3.

roughness?: number

Roughness centre. The output mr modulates +0..+0.12 above this on grain peaks. Default 0.45.

seam?: number

Plank-seam width, as a fraction of plank width. Default 0.015.