Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks
- ..
- .metadata114 B
- README.md2.0 KB
- block.yaml873 B
README.md
Surface dots (styleBlock, Tone)
Carries shade with a halftone dot screen printed on the surfaces themselves, bigger dots in darker places, like a printed comic, and the dots stay on things as the camera moves.
Settings: ink (deep violet), amount (0.7), dotsPerMetre (10), angle (45), threshold (0.3), maxCover (0.7).
What it gives up in motion
Dots live on surfaces (laid along each surface's main axis in the stack's shared coordinates), so a pan or dolly does not drag them. Because they are sized in metres, they get smaller on screen with distance; where a dot cell would fall under about three pixels the dots melt into an even tone, so a floor grazing to the horizon does not shimmer. On a moving skinned character the dots come from world position and slide across the body. Curved surfaces switch dot direction where their main axis changes, which shows as a seam.
How it treats content
- Opaque things: dotted in their darker places.
- Transparent things (glass, water): dotted with the coordinates of the opaque surface behind them.
- Particles and smoke: dotted where they darken a surface, with that surface's coordinates.
- Sky: never dotted.
- Fog: fog lightens things, so far away there are fewer dots.
- Skinned characters: dotted; dots slide on the moving body.
- Foliage: dotted; dense leaves can look busy, lower
amount. - World text: dark letters can collect dots; exclude labels.
- Black stays black: dots darken, they add 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.