Improve a buuuunch of textures and some reworks
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user