Paper Texture
Click to change the sample image
Installation
npm i @paper-design/shaders-react
Code
import { PaperTexture } from '@paper-design/shaders-react';
<PaperTexture
width={1280}
height={720}
image="https://paper.design/flowers.webp"
colorBack="#ffffff"
colorFront="#c4c4c4"
blending={0.8}
distortion={0.5}
roughness={0}
roughnessSize={0.25}
fiber={0.5}
fiberSize={0.5}
folds={0.7}
foldType="folds"
foldCount={15}
foldSize={0.79}
foldY={false}
foldOffset={0}
foldsShape={1}
drops={0}
seed={354}
fade={0}
background
scale={0.8}
fit="contain"
/>
Shader Props
Common Props
Description
A static texture built from multiple noise layers, usable for a realistic paper and cardboard surfaces. Can be used as a image filter or as a texture.