Log inGet started
World

Mirage Wells: Desert Dunes, Oasis and Ruins Kit

README.md

SurfaceGallery

Lays out every desertMaterials surface side by side and labelled, so you can see what each name looks like before you use it. Add it to any empty entity, ideally away from your playable area; it needs no other component.

One band per look (real, painted, toon, lowpoly, pixel), front to back along +Z. In each band the surfaces stand in rows by family (ground, rock, stone, built, bark, leaf, flower, fruit, cactus, camp, water). Each sample is a 2.6 m tile on the floor with a ball on it, so you see the surface's repeat flat and its shading round; leaf, flower and tumbleweed cards stand upright so their cut-outs read.

entity.spawn("surfaces", { position = { 0, 0, -60 } }).component.add("desertMaterials.SurfaceGallery", {})
-- only some looks and families
entity.spawn("surfaces").component.add("desertMaterials.SurfaceGallery", { looks = "real,toon", groups = "ground,rock" })
FieldDefaultMeaning
looksalla band per look, or a comma list
groupsallfamilies or surface names, comma separated
labelstruename every surface, family and band
floortruea pale floor under the gallery

Everything it spawns is temporary and local: every machine builds the same gallery from the fields, and it is rebuilt on reload. :rebuild() builds it again. desertProps' PropGallery is the same for every prop.