MoreCulling icon indicating copy to clipboard operation
MoreCulling copied to clipboard

Element-wise face culling

Open muzikbike opened this issue 2 years ago • 1 comments

Stairs are made out of two cuboids: one for the lower slab portion, and another for the upper quarter of a block section. Culling, however, is solely based on the whole block's collision box, causing some quads to still be rendered in situations like the following, when they are fully obscured: 2023-05-13_16 22 09 2023-05-13_16 22 36

In these situations, we could probably get rid of some more faces: 2023-05-13_16 22 22 2023-05-13_16 22 31 2023-05-13_16 22 49 2023-05-13_16 22 55

muzikbike avatar May 13 '23 15:05 muzikbike

The minecraft code is not built in a way that would make this easy. I also don't think there would be enough instances of a match like this happening. to justify the cost of that many more checks. So ill put this on the back burner

FxMorin avatar Jan 07 '24 17:01 FxMorin