xCollateral / VulkanMod

Vulkan renderer mod for Minecraft.
GNU Lesser General Public License v3.0
1.59k stars 181 forks source link

culling does not respect block models that extend out of their cube #517

Open Altirix opened 1 month ago

Altirix commented 1 month ago

Describe the bug

Minecraft can allow block models up to a size of 3x3x3.

At specific positions blocks that extend past their own block may be culled early if the block hitbox is outside of the camera frustrum.

Steps to reproduce

use pack testpack.zip

go to a corner of a chunk and place a bookshelf with the provided resource pack

go to a neigbour chunk and move the camera so the block hitbox will be out of the camera frustrum.

the block model should be culled too early at certain angles.

2024-10-06_10 18 32 2024-10-06_10 18 38

Log files

latest.log