Fluted Glass
Click to change the sample image
Installation
npm i @paper-design/shaders-react
Code
import { FlutedGlass } from '@paper-design/shaders-react'; <FlutedGlass width={1280} height={720} image="https://paper.design/flowers.webp" colorBack="#00000000" colorShadow="#000000" colorHighlight="#ffffff" size={0.5} shadows={0.25} highlights={0.1} shape="lines" angle={0} distortionShape="prism" distortion={0.5} shift={0} stretch={0} blur={0} edges={0.25} margin={0} grainMixer={0} grainOverlay={0} fit="cover" />
Shader Props
Common Props
Description
Fluted glass image filter transforms an image into streaked, ribbed distortions, giving a mix of clarity and obscurity.