Log inGet started
Package

published.module

Newest version

README.md

mediumKit.published

The published renderer: draws each of mediumKit's eight core media with the look published for it, on chosen objects only.

MediumDrawn byBlocks
watercolorwatercolorBlockswcWash, wcGranulation, wcEdgeDarken
inkinkBlocksinkWash, inkPenLine
pencilpencilBlocksgraphiteHBShade, graphiteHBLine
toontoonBlockstoonBands, celFill, toonOutline
animeanimeBlocksanimeCelTV, animeRimThinWarm, animeLineTV
comiccomicBlocks + styleKitmodernFlatPalette, newsprintScreen, depthLine
paperCutoutpaperBlocks + starterBlockscardSurface, posterize, depthLine
pixelretroMaterials + styleKitthe retroPixel material on the mesh, then posterize

How it works: each medium's blocks sit in the scene's styleKit stack as entries that name the variant mk_<medium>, and every mesh drawn in that medium carries a StyleChannel with that variant. An entry that names a variant draws only on objects of it, so the rest of the scene keeps its look. The host writes the stack entries (ensure); every peer tags its own meshes (tag), which styleKit syncs.

mediumKit.api calls it from apply / applyHybrid while Medium.renderer() is "published" (the default). You do not normally call it yourself; Medium.recipes() lists the recipes and whether each is installed.