Occlusion culling

This commit is contained in:
2026-11-07 17:59:28 -03:00
parent 22191d260c
commit 206cd38f26
7 changed files with 474 additions and 12 deletions
+2
View File
@@ -109,6 +109,8 @@ export interface SectionMesh {
};
// entities are lit from it
light: SectionLight;
// which of its faces can be seen through from which others, see client/workers/visibility.ts
visibility: number;
// the blocks in it with visuals, as pairs of the block's index in the section (see section_index) and its value
visuals: Uint32Array<ArrayBuffer>;
}