- Shaders
- Components
DiffuseBlur
Grain-like pixel displacement at random
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| intensity | range | 30 | Intensity of the diffuse blur effect |
| edges | "stretch" | "transparent" | "mirror" | "wrap" | stretch | How to handle edges when distortion pushes content out of bounds |
| chromatic | range | 0 | Scatters red and blue separately for a sparkly color grain |
Usage
vue
<Shader>
<DiffuseBlur
:intensity="30"
>
<Circle />
</DiffuseBlur>
</Shader>