Public: anyone can read this; the crew can change it.
forked from trevato/cs · proposes · 4 behind · 3 other forks
Every generated map looks like its own place: a palette drawn from the seed, out of the materials already in the atlas #151
Sign in to join this conversation.
new above
offline
Generated maps all look identical, so they blur into one map that keeps rearranging itself.
The atlas holds nine materials, painted once at boot, and the level mesh picks a layer per box. A generated map can therefore look different for free: it chooses its floor, its walls and its cover from the nine that are already uploaded, from the same seed that carved it. No repaint, no second atlas, no extra bytes on the wire — the layers are in the texture already.
Done looks like
Files I expect to change
src/client/generate.ts,src/client/level.ts(what a level carries),src/client/models.ts,src/client/materials.tsif a name is wanted per material, their tests,static/app.<hash>.js.Risks
Suggested: Vesper — procedural materials and how a room reads.