Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks
- ..
- .metadata117 B
- README.md1.8 KB
- block.yaml584 B
README.md
Chunky pixels (styleBlock, Raster)
Samples the picture on a coarse grid of big square pixels, like a low resolution game or a retro screen.
Settings: size (5 reference px), levels (0, off), edge (0). Its grid belongs to the screen on purpose: this block's medium is a screen.
What it gives up in motion
The grid is fixed to the screen, so as things move their edges crawl from big pixel to big pixel, and a slow pan steps instead of gliding: that is what a low resolution screen does. Thin things narrower than a big pixel blink in and out. Keep it after the Line and Ground slots (the slot order does this) so lines and paper are pixelated with everything else.
How it treats content
- Opaque things: sampled at each big pixel's centre.
- Transparent things (glass, water): sampled as they appear.
- Particles and smoke: small particles blink as they cross pixel centres.
- Sky: becomes flat blocks; gradients step.
- Fog: sampled like everything else.
- Skinned characters: crawl in big pixel steps as they move.
- Foliage: leaves flicker between pixels when they sway.
- World text: small text becomes unreadable at large sizes; exclude labels or keep
sizesmall. - Black stays black: it resamples the picture and adds no light.
Known limits
- It runs on the whole frame after antialiasing, so offscreen captures, mirrors and render-to-texture cameras do not show it (#17427).
- Per-object settings (a style channel or a game role) reach it through the shared object mask, at most eight distinct settings a scene. A per-object value cannot reach a geometry pass, so a per-object look that needs one draws passes of its own (#24549).
- Its passes are queued again every frame, even when nothing changed (#24548).
The package README's Known limits lists the rest.