published
The published renderer: draws each of mediumKit's eight core media with the look published for it, on chosen objects only.
mediumKit.published
The published renderer: draws each of mediumKit's eight core media with the look published for it, on chosen objects only.
| Medium | Drawn by | Blocks |
|---|---|---|
| watercolor | watercolorBlocks | wcWash, wcGranulation, wcEdgeDarken |
| ink | inkBlocks | inkWash, inkPenLine |
| pencil | pencilBlocks | graphiteHBShade, graphiteHBLine |
| toon | toonBlocks | toonBands, celFill, toonOutline |
| anime | animeBlocks | animeCelTV, animeRimThinWarm, animeLineTV |
| comic | comicBlocks + styleKit | modernFlatPalette, newsprintScreen, depthLine |
| paperCutout | paperBlocks + starterBlocks | cardSurface, posterize, depthLine |
| pixel | retroMaterials + styleKit | the 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.
Scoped to this part · feeds back into the world's score.