Log inGet started
Package

recipePencilSketch.scene

This package holds more than this page lists. See all of its files in its world.

README.md

Pencil sketch (Style Cookbook recipe scene)

pencilBlocks' Pencil sketch look on the campaign stage: HB graphite hatching that follows the forms and builds up stroke by stroke where the stage is darker, soft wandering graphite outlines, sunlit planes left as bare paper, on smoothed cold-press paper. One call: StyleKit.applyLook("pencilSketch"). The stack is graphiteHBShade (shade, Tone), graphiteHBLine (line, Line) and paperColdPress (paper, Ground) with its tooth lowered for pencil.

One change each:

  • Softer, darker lead: StyleKit.swap("shade", "graphite6BShade") (or graphite2HShade, graphite4BShade, graphiteMechanicalShade); swap back with StyleKit.swap("shade", "graphiteHBShade") for exactly this picture again.
  • Another medium's line: StyleKit.swap("line", "charcoalVineLine"), or an ink pen line from inkBlocks: StyleKit.swap("line", "inkPenLine").
  • Another paper: StyleKit.swap("paper", "paperSketchbook").
  • The figure carries its own marks as it moves: require("~pencilBlocks.PencilHero").paint("showcaseCharacter"); unpaint("showcaseCharacter", { removeFiles = true }) undoes it.

The scene is the Lookbook's campaign stage (lookbookShowcaseKit) with its lights, sky and the normal player setup, the style stack on a synced StyleStack so every player sees the same look, and beside the stage the reference picture the recipe was tuned against (design/references/pencilstage/stage_pencil_sketch) on a board left out of the stack. The RecipeView camera is the reference's view. Built by scenes.RecipeStage; load it with zero scene load scenes.recipePencilSketch.

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).