We currently keep the triangles which are not visible because of adjacent cubes. If two cubes of type CubeType::SOLID are adjacent to each other, 2 * 2 = 4 triangles are never visible, but they are still being stored in the vertex buffer.
Description
We must remove those vertices which are never visible.
Alternatives
Keep the triangles, even if they are not visible, reducing rendering performance.
Is your feature request related to a problem?
We currently keep the triangles which are not visible because of adjacent cubes. If two cubes of type
CubeType::SOLID
are adjacent to each other, 2 * 2 = 4 triangles are never visible, but they are still being stored in the vertex buffer.Description
We must remove those vertices which are never visible.
Alternatives
Keep the triangles, even if they are not visible, reducing rendering performance.
Affected Code
The octree code
Operating System
All operating systems