Allow for textures that aren't 16x16

This commit is contained in:
2026-09-28 16:20:37 -03:00
parent 52ef4e5ca6
commit fe149bb9ad
18 changed files with 268 additions and 136 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ async function mesh_block(id: string, x: number, middle: Colors, west: Colors |
type: "init",
blocks_registry: JSON.parse(JSON.stringify(blocks)),
models: {},
textures_info: { "engine:missing": { x: 0, y: 0 } },
textures_info: { "engine:missing": { x: 0, y: 0, width: 16, height: 16 } },
image: { width: 1024, height: 1024 },
});