Log inGet started
World

Ink and Gouache: Toon and Cel-Shaded Materials

Branchmain
Commita29dbeb403

README.md

ToonInk

Switches the toonMaterials ink outline on and off, per object and for every player. ToonInk.set(object, true) outlines an object (and every part of it that has a Model) for everyone, ToonInk.set(object, false) takes it off, and a player who joins later sees the same; ToonInk.isOn(object) reads it. ToonInk.add(object) outlines on this machine only (the gallery's local swatches use it). The master switch and the ink colour are the shared look's (ToonLook.set({ outlines = false })); the line is 3 cm thick on every object (a live inkWidth change does not reach it, engine issue #21428). Drawn by the toonInk render feature as a depth-tested inverted hull, so a line never shows through a wall in front of it. Put a ToonProp component on a scene object to outline it from the scene file.