Occlusion culling
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user