Log inGet started
World

Ink and Gouache: Toon and Cel-Shaded Materials

Branchmain
Commita29dbeb403

README.md

toonStartup (asset type)

The asset type that starts toonMaterials' ink outline on every machine. An asset of it holds a README.md and a .metadata and nothing else. When it registers (when a world loads, when the package is installed, when it arrives from another player), the type's onRegister hook loads ToonInk and calls ToonInk.start(): the shared outline switch channel opens and asks the room for the switches already made, and the toonInk render feature starts and has its shader compiled. So an outline someone switches on shows on every player's screen, in any world that installed the package, with no setup code.

The package ships the one asset it needs, outline.toonStartup. A world never makes its own.