accent_glow¶
type: "accent_glow"
Dark accent glow on the highlights: pixels above mid grey print in the accent colour, the hottest pixels print white, and 5 px halftone dots rotated 45 degrees fill the mid tones — everything else goes black.
Fields¶
Every screen effect also accepts
screen_layerand the shared definition fields (duration,easing,loop,persistent,fade_ticks,sound).
| Field | Type | Default | Meaning |
|---|---|---|---|
accent_r/g/b |
float | 0.35 / 0.9 / 1.0 | Accent (glow) colour |
strength |
float | 1 | Glow brightness multiplier |
amount |
float | 1 (fades to 0) | Glow look visibility |
mid |
float | 0.5 | Highlight split point in luma |
core |
float | 0.68 | Hot-core threshold in luma |
Example¶
{
"type": "accent_glow",
"duration": 60,
"params": { "accent_r": 0.35, "accent_g": 0.9, "accent_b": 1.0, "strength": 1, "amount": 1 }
}
Code¶
Its datapack definition: