Linocut

Turns the scene into a high-contrast black and white image with carved, swirling lines, like a linocut or woodcut print.

Ported from TresJS post-processing.

import { Linocut } from '@react-three/postprocessing'
import { BlendFunction } from 'postprocessing'

return (
  <Linocut
    scale={0.85} // line width and swirl amount, 0 to 1
    noiseScale={0} // noise added before thresholding, 0 to 1
    center={[0.5, 0.5]} // center of the line pattern
    rotation={0} // rotation of the line pattern in radians
    blendFunction={BlendFunction.NORMAL} // blend mode
  />
)

Props

NameTypeDefaultDescription
scaleNumber0.85Line width and swirl amount, 0 to 1.
noiseScaleNumber0Noise added before thresholding, 0 to 1.
centerVector2[0.5, 0.5]Center of the line pattern in normalized screen space.
rotationNumber0Rotation of the line pattern in radians.
blendFunctionBlendFunctionBlendFunction.NORMALThe blend function of this effect.
opacityNumber1The opacity of this effect.