
LookingGlass seems to break the world a bit when a view is created.
Geforce132 opened this issue ยท 4 comments
Whenever I create an IWorldView in the same dimension as the dim. I'm currently in, my world seems to break a bit. Some chunks just refuse to load unless I cleanup the IWorldView, quit the game and restart. You can tell if the world is messed up by looking at two other small little bugs, if you break blocks with an IWorldView present, they seem to drop double the amount of particles they should, and rain particles seems to drop much faster than normal. This seems to happen both if I use the API to create a view, or if I use /lg-viewdim. It's kinda weird looking...
Mods:
- Forge v10.13.3.1420
- LookingGlass v0.2.0.00
@XCompWiz Any progress on this issue? I was planning on releasing the new version of my mod, SecurityCraft, that uses LookingGlass sometime this week, and was just wondering if any updates to LookingGlass could possibly be coming? :)
Well, LG went open source. You are welcome to help track down the issue. :P
This likely has to do with the alongside worlds being rendered twice. Minecraft's rendering isn't designed for multiple frames per tick, and thus all the update code for rendering is built in. The easiest fix is perhaps expensive: Duplicate the render state. This might require duplicating the world as well, meaning that rendering where you are requires having the chunk data loaded twice. Hopefully that can be avoided.