Log inGet started
World

Forge and Patina: The Metals Material Collection

Branchmain
Branchesmain
Commit25b188e240

README.md

metalsMaterials tests

Checks everything the collection offers, through materialLibraryKit's own API:

  • all 27 requested metals (plus rustedIronBlocky) are listed by the core, fully tagged, and found by kind, style and search-word filters;
  • each metal's textureKB matches the measured texture memory, and the whole set (materials plus reference pictures) stays under 100 MB;
  • physical ranges: chrome, gold and silver fully metallic and smooth, cast iron rough, toon metals non-metallic on the toonMetal shader, rust, paint and patina masked;
  • every metal passes Checks.run (render passes, seams, near and far views, shimmer, memory) and Checks.budget (web limits);
  • apply, swap and clear on a cube, and an unknown name refused;
  • reference pictures and boards resolve, the picker shows the metals, the gallery has a bay for every metal;
  • the README version matches the package and collection, and every metal is in its table.

It leaves alone the core's own behaviour (its suites test that) and two-player sync, which cannot be driven from one engine.

It runs wherever the package is installed: at the top of a world, or under /source/deps/ when another package brought it in. It finds its own folder from where the suite sits and measures texture memory from the textures themselves, so it never depends on the maker's world. It also passes on its very first run in a world that has never had a gallery: the gallery check waits for each page's bays to land before counting them, and clears the gallery again afterwards when the world had none.

Run it with the tests toolbox, or asset.resolve("metalsMaterials", "testSuite"):run(). Checks.run renders every metal, so a full run takes a few minutes.