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="hsl(0, 0%, 56%)"
colorHighlight="hsl(0, 0%, 0%)"
highlights={0}
size={0.4}
shape="lines"
angle={0}
distortionShape="lens"
distortion={0.5}
shift={0}
blur={3}
edges={0}
margin={0}
scale={0.5}
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.