Someone-Else-Was-Taken / Periodic-Table-Reforged

A Collection of Unofficial ports of the CaffeineMC Mods alongside Iris.
GNU General Public License v3.0
45 stars 14 forks source link

Magnesium - Immersive Engineering wires render weirdly #130

Open zdenek-biberle opened 2 years ago

zdenek-biberle commented 2 years ago

This is a couple of 32 blocks long Immersive Engineering HV wires:

2021-12-04_20 08 07

As you can see, there's a part of the wire that seems to weirdly wrap around to a different chunk. If I disable the "Use Compact Vertex Format" option then the issue goes away and the wires render correctly (well, apart from them having an incorrect color and disappearing when one of the connectors goes offscreen, but those are entirely separate issues).

I suspect that the compact vertex format uses less bits for the vertices. From what I can tell, IE uses fairly large models for the wires and so I assume that the vertex positions simply wrap around. I'm not sure if there's anything that can be done about that - I guess that no one expected models to be this large.