mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Occlusion culling algorithm based on recursive descend (#13104)
Co-authored-by: DS <vorunbekannt75@web.de>
This commit is contained in:
parent
059f62d7d6
commit
2715cc8bf6
11 changed files with 493 additions and 58 deletions
|
@ -340,3 +340,8 @@ void final_color_blend(video::SColor *result,
|
|||
// TileFrame vector copy cost very much to client
|
||||
void getNodeTileN(MapNode mn, const v3s16 &p, u8 tileindex, MeshMakeData *data, TileSpec &tile);
|
||||
void getNodeTile(MapNode mn, const v3s16 &p, const v3s16 &dir, MeshMakeData *data, TileSpec &tile);
|
||||
|
||||
/// Return bitset of the sides of the mapblock that consist of solid nodes only
|
||||
/// Bits:
|
||||
/// 0 0 -Z +Z -X +X -Y +Y
|
||||
u8 get_solid_sides(MeshMakeData *data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue