Log inGet started
World

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

README.md

Gallery (scene)

The variety of inkBlocks in one place, every piece labelled on its own white card so it reads in the scene and on the cover. It is the package cover (gallery/cover.texture).

  • Front rows: every ink line and every ink fill. Each pedestal holds the same still life. A light base ink wash (inkWash), plain paper and the line boil run over every pedestal but the first ("As rendered"), and each block is limited to its own pedestal by a sphere mask, so every pedestal shows the wash plus that one block: the five Line blocks (inkPenLine, inkBrushLine, inkNibLine, inkSketchPen, inkDryLine, which swap for each other with StyleKit.swap("line", id)) and the three chained Fill blocks over the wash (inkPool, inkDryTexture, inkSplatter). The "Ink wash" pedestal shows the base wash alone.
  • Middle row: every whole look. One board per look shows it on the Lookbook's campaign stage from the reference camera: Ink drawing, Brush and wash, Noir ink, Spattered comic ink and Sketchbook pen. Switch a scene to any of them with StyleKit.applyLook(id).
  • Back row: every ink colour. Each board shows the Ink drawing look on the campaign stage in that ink set, with the set's name and a strip of its inks, built from the set when the scene is built. Switch a scene to any of them with StyleKit.setPigments(id).

The gallery camera stands far back, so the base wash and the blocks run here with their distance settings pushed past the gallery (no low mist, no fade to paper and no line thinning before 150 to 400 m); in a game the blocks use their own defaults. The stack holds 11 entries on one StyleStack (holdRate 4, pigments inkBlack).

Labels and boards are left out of the stack by name (exclude = { "GalleryLabels", "LookBoards", "InkBoards" }), so they stay as made after the scene is saved and loaded again; the cards and frames use the unlit gallery/boards/galleryCard material so they read the same under any sky. The GalleryView camera stands far back on a long lens so the far rows are drawn nearly as large as the near pedestals; it draws all !debug !EditorUI, so editor gizmos never reach the inked frame. Load the scene with zero scene load inkBlocks.Gallery.

The boards are presented captures of scenes.recipeLineAndWash (reference board hidden) at the reference pose: position (7, 4.5, 15) looking at (0.5, 1.2, 0), 50 degree lens. They live in gallery/looks, gallery/inks and gallery/boards.

Known limits

  • The look runs after antialiasing, so offscreen captures do not show it; read the presented frame (#17427).
  • A two-client editor sometimes refuses to load two different scenes at once (#24666, #24667).
  • A world boot can wait about 30 s on a network handshake before any content starts (#24669).
  • The web build was not checked from here (#20946).