Options accepted by paintConcrete.

interface PaintConcreteOptions {
    color?: [number, number, number];
    noisePeriod?: number;
    normalStrength?: number;
    roughness?: number;
}

Properties

color?: [number, number, number]

Base colour. Default [0.62, 0.62, 0.614].

noisePeriod?: number

Period of the colour/heightfield fBm in lattice cells. Default 18.

normalStrength?: number

heightToNormal strength. Default 1.2.

roughness?: number

Roughness centre. The output mr modulates ±0.08 around this via a half-period fBm. Default 0.86.