Chisels & Bits - For Fabric

Chisels & Bits - For Fabric

2M Downloads

Chiseled block models generate and render many unnecessary quads

Phylogeny opened this issue ยท 1 comments

commented

As expected, when two bits in a chiseled block with the same state have opaque textures and are next to each other in a block space, the model doesn't generate quads between them. But quads of adjacent bits shouldn't generate for any bits of any state if the quads are opaque, yet they do. The outer quads should also be culled by adjacent blocks with solid textures that completely obscure them, but they don't (even if they are the same block state).

For example, here are two chiseled blocks next to each other; each with a pair of different opaque blocktypes in them:

Outside Adjacent Chiseled Blocks

Nothing should render when the camera is inside either or them, or between them, yet here is a view from almost exactly between them:

Inside Adjacent Chiseled Blocks

commented

Optimizing this would be incredibly helpful.