Log inGet started
World

Warp and Weft: The Fabrics and Soft Goods Material Collection

Branchmain
Branchesmain
Commitf316140029

README.md

main

Warp and Weft's opening scene: the Swatchbook swatch gallery turned to the fabrics, with draped cloth and soft cushions in the middle.

  • The gallery. materialLibraryKit's SwatchGallery, opened on the Studio lighting look, with this package's FabricShowcase beside it. All 25 fabrics stand on one ring about 13.7 m from the centre. Each bay has a 2 × 2 m floor tile and a wall at real size, plus a cube, sphere, shader ball and cylinder, and a plaque naming the fabric with its kind, tile size, texture cost, roughness and metal ranges. Its reference picture is framed on the wall beside it. The toolbar switches the lighting look for everyone and opens the material picker.
  • The draped cloth. A dark table at the centre, and above it a 1.6 m linen sheet: a shared SoftBody cloth with FabricCloth on the baked 72 mm sheet mesh. In play it falls and drapes over the table, and it shows its fabric from both faces.
  • The cushion bench. A bench with three shared soft cushions in velvet, quilted cushion fabric and wool tartan, each a SoftBody box with FabricCloth on the cushion mesh for its tile size.
  • Changing a fabric. In play, click the sheet or a cushion and pick a fabric in the picker. Every player sees the change, and FabricCloth keeps the new fabric at real size on the moving cloth.
  • Light and floor. A sun, an ambient light and a procedural sky, which the lighting looks drive, over the library's neutral gallery floor (a 90 m box with a collider).
  • Players. A humanoid avatar with an orbiting camera, arriving at the gallery spawn. entrypoint.luau moves each player onto a spot of their own 5 m from the centre, facing their own quarter of the ring. It lifts their camera to 4 m, so every plaque on the ring reads from where they arrive.

build.luau states all of it as code, and scene.json holds the baked result, so the scene is there the moment the world opens. The gallery's swatches and reference boards are built on each machine; the sheet and cushions are synced, so one machine simulates each and every player sees the same drape.