CaffeineMC/sodium-fabric

Cull sugar cane against other blocks of sugar cane when using custom models with cullface

muzikbike opened this issue · 1 comments

Request Description

The same idea as #937 and #2458, but only visible when using a custom resource pack since vanilla's sugar cane is a cross model. A test pack can be found attached to https://bugs.mojang.com/browse/MC-248964.

Since cullface is specified for the top and bottom of sugar cane in the test pack, it'd be expected that they would cull against other sugar cane blocks, but that doesn't happen. The model correctly culls against solid blocks above or below, however.

2024-05-03_22 34 04
2024-05-03_22 34 19
2024-05-03_22 34 28

As discussed elsewhere, fixing these issues is likely not possible with reasonable resource pack/mod compatibility unless a new hidden surface elimination algorithm is implemented which works with the geometry itself (rather than comparing the code-specified cull shapes.)