ChromaticAberration
Separate RGB channels for a prismatic distortion effect
Separate RGB channels for a prismatic distortion effect
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| strength | range | 0.2 | Overall strength of the chromatic aberration effect |
| angle | range | 0 | Direction of the chromatic aberration in degrees |
| redOffset | range | -1 | Red channel offset multiplier |
| greenOffset | range | 0 | Green channel offset multiplier |
| blueOffset | range | 1 | Blue channel offset multiplier |
Usage
vue
<Shader>
<ChromaticAberration>
<Circle />
</ChromaticAberration>
</Shader>