Block visuals

This commit is contained in:
2026-10-13 23:52:30 -03:00
parent 55ad08266e
commit 6ad476ac18
19 changed files with 854 additions and 14 deletions
+1
View File
@@ -177,6 +177,7 @@ async function mesh(blocks: [number, number, number, string, number?][]) {
models: {},
textures_info: { "engine:missing": { x: 0, y: 0, width: 16, height: 16 } },
image: { width: 1024, height: 1024 },
visuals: [],
});
const chunks = Array.from({ length: 9 }, () => new Uint32Array(CHUNK_AREA * CHUNK_HEIGHT));
for (const [x, y, z, id, level] of blocks) {