Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks
- ..
- .metadata87 B
- README.md1.9 KB
- block.yaml692 B
README.md
Shared inputs view (styleBlock, Medium)
A diagnostic block for block authors: shows one of the shared inputs every block reads (distance, normals, base colour, ground, wobble, object mask or surface coordinates) in place of the picture.
Settings: show (0 view distance, 1 normal, 2 base colour, 3 ground with its grain on the right half, 4 wobble, 5 object mask, 6 surface coordinates), range (60 m). Use it with a rect mask to see an input beside the picture.
What it gives up in motion
It replaces the picture, so it is not a look. Watching show = 6 while the camera pans is the quickest way to see that surface coordinates stay on things.
How it treats content
- Opaque things: shows their shared data.
- Transparent things (glass, water): shows the opaque surface behind, since the shared data comes from the opaque depth.
- Particles and smoke: invisible in every view but the ground and wobble.
- Sky: distance 0 (black), no normal or base colour; coordinates come from the view direction.
- Fog: not part of the shared data.
- Skinned characters: shown like any opaque thing.
- Foliage: alpha-cut leaves appear, blended leaves do not.
- World text: appears where it is geometry in the depth.
- Black stays black: not applicable; this is a diagnostic and it is the one block that does not return through
sk_finish.
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.