chromatic_aberration¶
type: "chromatic_aberration"
Splits the RGB channels towards the screen edges (RGB fringing).
Fields¶
Every screen effect also accepts
screen_layerand the shared definition fields (duration,easing,loop,persistent,fade_ticks,sound).
| Field | Type | Default | Meaning |
|---|---|---|---|
intensity |
float | 0.8 (fades to 0) | Fringing strength; 0 = off |
radius |
float | 4 | Effect radius in pixels from the screen border |
Example¶
Code¶
Its datapack definition: