Bake stub atlas-sets for demo_tilemap and walls_tilemap

Replaces the legacy color-only *.tilemap.json fixtures with baked
2-tile atlas-sets in the new atlases/<id>/{diffuse,height,atlas-json,
lock-json} layout. Stub PNGs are 32x32 solid colors matching the
previous color values; height channel is synthesized L8=0 by the baker.
A scripts/bake.sh re-bake helper drives the atlas-baker tool against
assets/_sources/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Axel Meyer
2026-05-21 22:53:30 +02:00
parent c3e9eda702
commit 394e8faef2
16 changed files with 122 additions and 16 deletions

View File

@@ -0,0 +1,31 @@
{
"atlas_id": "demo_tilemap",
"atlas_version": 1,
"atlas_size_px": [
64,
64
],
"tile_size_px": 32,
"tiles": [
{
"id": 1,
"name": "grass",
"uv": [
0,
0,
32,
32
]
},
{
"id": 2,
"name": "stone",
"uv": [
32,
0,
32,
32
]
}
]
}

View File

@@ -0,0 +1,9 @@
{
"atlas_id": "demo_tilemap",
"bindings": {
"grass": 1,
"stone": 2
},
"deleted": [],
"next_id": 3
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B