Improve a buuuunch of textures and some reworks

This commit is contained in:
2026-09-27 18:05:20 -03:00
parent 9f47c709f1
commit b7ded817d9
186 changed files with 1486 additions and 124 deletions
+4
View File
@@ -46,6 +46,8 @@ export type ToChunkWorker =
version: number;
// copies of the blocks of the 3x3 chunks around it, going +x then +z from -x -z, for lighting
chunks: (Uint32Array | null)[];
// the same chunks' biome colors (see "generated"), blended across their edges
biome_colors: (Uint32Array | null)[];
// where the camera is, to sort the translucent quads
camera: number[];
}
@@ -75,6 +77,8 @@ export type FromChunkWorker =
blocks: Uint32Array;
// blocks that landed in other chunks (from features like a mod's trees), flattened as x, y, z, numeric id
spills: Int32Array;
// each column's biome grass color as 0xRRGGBB, x then z, then each column's foliage color
biome_colors: Uint32Array;
}
| {
type: "meshed";