Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks
- ..
- .metadata103 B
- README.md1.7 KB
- block.yaml693 B
README.md
Soft grain (styleBlock, Medium)
Adds a soft film or print grain over the picture, strongest in the mid tones, renewed on the held clock so it never buzzes.
Settings: amount (0.06), size (1.5 reference px), colour (0.15), shadows (0.4).
What it gives up in motion
Grain belongs to the medium the picture is seen through (film, print, a screen), so it sits on the picture, not on things: that is the one place a mark may stay on the screen. It is renewed on each step of the held clock (8 a second by default), never per frame, and its average brightness never changes, so it does not flash. The Lookbook's screen-stuck test counts it as a medium mark.
How it treats content
- Opaque things: grained in the mid tones.
- Transparent things (glass, water): grained as they appear.
- Particles and smoke: grained like everything else.
- Sky: grained; a clear sky shows it most.
- Fog: grained; fog's mid tones carry it.
- Skinned characters: grained like any surface, no extra cost.
- Foliage: grained.
- World text: grain is added scaled by brightness, small enough to keep text readable at the default amount.
- Black stays black: grain is scaled by the light already there.
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.