3D biomes
This commit is contained in:
@@ -5,7 +5,7 @@ import type { BlockRegistry } from "@/common/everything_registry.ts";
|
||||
import type { SpriteRegion } from "@/common/constants.ts";
|
||||
import type { ModelJson } from "@/common/block_models.ts";
|
||||
import type { WorldShapeJson } from "@/common/world_shape.ts";
|
||||
import type { SectionData } from "@/common/section.ts";
|
||||
import type { SectionBiomes, SectionData } from "@/common/section.ts";
|
||||
import type { SortType } from "./translucent_sort.ts";
|
||||
|
||||
// messages between the main thread and the chunk workers
|
||||
@@ -58,7 +58,9 @@ export type ToChunkWorker =
|
||||
chunks: (SectionData[] | null)[];
|
||||
// the same chunks' sky heights, see column_heights in common/section.ts
|
||||
sky: (Int16Array | null)[];
|
||||
// the same chunks' biome colors (see Chunk.biome_colors in client_level.ts), blended across their edges
|
||||
// the same chunks' biome cells, of the same sections as chunks, and their biome palettes' colors (see
|
||||
// Chunk.biome_colors in client_level.ts), blended across their edges
|
||||
biomes: (SectionBiomes[] | null)[];
|
||||
biome_colors: (Uint32Array | null)[];
|
||||
// where the camera is, to sort the translucent quads
|
||||
camera: number[];
|
||||
|
||||
Reference in New Issue
Block a user