feat(tile): render tiles with the mesh generator

Replace the per-shape tile geometries with @tts/mesh extrusion, honoring
the tile type and stretch aspect ratio. Add extrudeShapeParts so the
caps carry the texture while the walls are solid white, matching TTS
tinting. Fix bottom-face UVs to mirror horizontally and make wall UVs
inherit the front mapping independent of z.
This commit is contained in:
2026-08-08 14:21:53 +08:00
parent 14f83f476c
commit d554d6bde1
11 changed files with 246 additions and 45 deletions
+3
View File
@@ -66,6 +66,9 @@ importers:
'@tts/extract':
specifier: workspace:*
version: link:../../packages/extract
'@tts/mesh':
specifier: workspace:*
version: link:../../packages/mesh
'@tts/shared':
specifier: workspace:*
version: link:../../packages/shared