posterize¶
type: "posterize"
Posterization: reduces the number of colours on screen, clean quantization without dithering.
Fields¶
Every screen effect also accepts
screen_layerand the shared definition fields (duration,easing,loop,persistent,fade_ticks,sound).
| Field | Type | Default | Meaning |
|---|---|---|---|
strength |
float | 0.25 (fades to 0) | 0 = off, 1 = only 2 levels per channel |
Example¶
Code¶
Its datapack definition: