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="#c4cbd4"
blending={0.7}
distortion={0.5}
seed={74}
roughness={0.4}
roughnessSize={0.5}
fiber={0.2}
fiberSize={0.5}
crumples={0.3}
crumpleSize={0.5}
folds={0.75}
foldType="folds"
foldCount={15}
foldsShape={0.5}
drops={0.4}
fade={0}
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.