Closed Craluminum2413 closed 6 months ago
What do you mean by "invisible cubes"? The terrain is special in that when it updates the mesh to render, it leaves out sides that touch other (full) blocks. The same is not true for item models. They should already be optimized, not be made of thousands of cubes. The occlusion culling option does not affect parts of a model.
I apologize if I'm misunderstanding something here.
Cubes that have all faces disabled and size as X0 Y0 Z0. I added thousands of invisible cubes because it is the only way to fit 128 pieces in a pile's shape, look at tessQuantityElements
I found out that it is possible to make without invisible cubes, but you need to sacrifice a block collision, because GroundStorable cannot stop growing collision box, so two ways: billions of invisible cubes or always full collision box
Game Version: 1.16.0-pre.10 Platform: Windows Modded: Yes SP/MP: Singleplayer
Description
A pile with a giant amount of invisible cubes inside gives large bursts of lags on interacting as if they were visible
How to reproduce
itemtypes/resource/beeswax.json
occlusion culling
Videos
https://user-images.githubusercontent.com/69315569/146599307-6fdc4ae5-e9f2-447d-9976-e59bb26815e4.mp4