Ink and Gouache: Toon and Cel-Shaded Materials
README.md
toonMaterials tests
A small, quick suite built on materialLibraryKit's own checks:
- all 24 materials are in the library under the
tooncollection with every tag (toon, what it is, style family, tile size, outline support, glow, animation, texture count), and the family filters find 10 cel, 5 flat, 5 hand-painted and 4 gradient; - each reads as what it is: every textured albedo averages near its own palette colour, every flat colour is exactly its palette colour, and one material per family renders lit and legible (
Checks.views); - three tiled materials, one per drawing style, pass
Checks.seamstiled 4 x 4 on the render and on every texture edge; - every material passes
Checks.budget(web limits) and the set stays under 32 MB; ToonLook.setchanges the bands on all 24 at once, and the ink outline follows its object switch and the master switch.
Each test runs inside the library's Sync.isolate(), so nothing it does reaches other players, and none touches the gallery: the checks draw their probes far away and remove them, the outline test uses a temporary object, and the look test puts the look back. Run it with asset.resolve("toonMaterials.tests.toonMaterials", "testSuite"):run().