Modern Industrialization

Modern Industrialization

4M Downloads

Add tool/option to hide barrel item display

msparkles opened this issue ยท 7 comments

commented

The item displaying of barrels is quite laggy apparently. According to spark, it can take up to 20% of the rendering time, and FPS drops to 50 for us whenever we face to an area with a bunch of barrels.

Optional: tool to mass hide barrels

commented

I can add such an option, but could you also provide the spark profile so I can check if the performance issue can be solved directly?

commented

Will do.

commented

There's some stuff that are from Sodium instead. We wonder if there could be an issue there?

commented

What happens if you remove glyphix? It seems to make text rendering very slow.

commented

Seems to fix it a little bit, still gets frame drops somewhat, though.

Here's the new profile: https://spark.lucko.me/zuzYP1g0t7

commented

As a workaround, make sure to surround the faces of the barrels that you don't use with solid blocks. This will cause the barrel to skip rendering for that side entirely. (E.g. if you only use the front face you should surround the 3 other faces with some opaque block).