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="#9fadbc" contrast={0.3} roughness={0.4} fiber={0.3} fiberSize={0.2} crumples={0.3} crumpleSize={0.35} folds={0.65} foldCount={5} drops={0.2} fade={0} seed={5.8} scale={0.6} fit="cover" />
Shader Props
Common Props
Description
A static texture built from multiple noise layers, usable for a realistic paper and cardboard surfaces or generating abstract patterns. Can be used as a image filter or as a texture.