A static texture built from multiple noise layers — fiber noise, cell-based crumples, fold distortion, roughness, and speckle drops — composited with a directional light model to produce a convincing paper or cardboard surface. Can be used as a standalone texture or as an image filter over an uploaded photo.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/paper-design/shaders/llms.txt
Use this file to discover all available pages before exploring further.
Usage
- React
- Vanilla JS
Props
Foreground (highlight/lit surface) color.
Background (shadow/unlit surface) color.
Optional source image to apply the paper texture over as a filter.
Blending behavior controlling the sharpness of the light/shadow transitions. Range:
0 to 1.Pixel-level noise intensity. Related to canvas pixels and not scalable. Range:
0 to 1.Intensity of the curly fiber noise layer. Range:
0 to 1.Scale of the fiber noise. Smaller values produce finer fibers. Range:
0 to 1.Intensity of the cell-based crumple pattern. Range:
0 to 1.Scale of the crumple pattern cells. Range:
0 to 1.Depth of the fold/crease deformation. Range:
0 to 1.Number of folds applied to the surface. Range:
1 to 15.Big-scale noise mask applied to the texture. Higher values fade the pattern toward the edges. Range:
0 to 1.Visibility of speckle/water-drop pattern. Range:
0 to 1.Seed applied to folds, crumples, and drops. Changing this value produces a different surface configuration. Range:
0 to 1000.Animation speed. Paper texture is static by default (
speed: 0).Static frame position when
speed is 0.Presets
| Name | Description |
|---|---|
Default | Realistic blue-grey paper with balanced texture |
Cardboard | Brown cardboard with strong fiber and crumples |
Abstract | High-contrast abstract surface in cyan and magenta |
Details | Maximum detail mode with transparent colors for use as an overlay |
Sizing
This shader usesShaderSizingParams. See Sizing and fit for fit, scale, rotation, offsetX, offsetY, originX, originY, worldWidth, and worldHeight props.