Log inGet started
World

Forge and Patina: The Metals Material Collection

Branchmain
Branchesmain
Commit25b188e240

README.md

MetalsShowcase

Add it to the same entity as materialLibraryKit's SwatchGallery. It opens the gallery's "all" view on the page holding the metals (openOnMetals) and hangs each metal's reference picture in the top corner of its bay's swatch wall (showReferences), so the material and the picture it was made to match are seen side by side under every lighting look.

local g = entity.spawn("Gallery")
g.component.add("SwatchGallery", {})
g.component.add("MetalsShowcase", {})

It needs SwatchGallery on the same entity (or anywhere in the scene) and rebuilds its boards whenever the gallery rebuilds. The boards are local, temporary entities on each peer; the gallery page and lighting look stay shared through materialLibraryKit's sync, so every player sees the same exhibit.