Log inGet started
World

Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks

README.md

Matte card (styleBlock, Surface)

Makes every surface read as matte coloured card: shine and hot highlights are taken off, light is softened and a faint card fibre sits on each surface, like a cut paper or papercraft diorama.

Settings: matte (0.85), soften (0.3), fibre (0.25), fibreSize (60 per metre), card (warm white tint). It works out how much light reached each pixel by dividing the rendered colour by the surface's base colour (which the stack copies from the deferred renderer), caps that light so nothing shines, and puts the base colour back under the softened light.

What it gives up in motion

Specular glints and moving reflections are removed, so a turning metal object loses the cue that it is turning. The fibre sits on surfaces, so it does not slide when the camera moves; on a moving skinned character it is taken from world position and slides across the body.

How it treats content

  • Opaque things: become matte card in their own colour.
  • Transparent things (glass, water): the base colour behind them is used, so glass loses its tint and reads as the card behind it, softly lit.
  • Particles and smoke: additive particles over a surface are capped with the light and dim; smoke over a surface is treated like the surface's light.
  • Sky: only softened, no fibre.
  • Fog: fog brightens the light estimate, so fogged surfaces read as paler card.
  • Skinned characters: become matte card; fibre slides on the moving body.
  • Foliage: matte card leaves.
  • World text: emissive or bright text is capped like any highlight and can lose punch; exclude labels.
  • Black stays black: it rescales light that is there, it adds none.

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.