Made texture batching double-buffered. Additionally, batching is done in parallel with game logic on a separate worker thread, effectively removing all the overhead that was caused by batching.
- Updated to FalsePatternLib 0.10
- Improved animated texture performance a bit more
- Complete reimplementation of the texture stitcher, now it should be working correctly and all weird texture bugs should be gone.
- Modernized config system
- Updated to FalsePatternLib 0.9.x
- Main menu config gui. Changing the batching threshold here instead of the config file will automatically apply the change without a game restart.
Additionally, the reimplemented stitcher also COMPLETELY replaces the vanilla stitcher, which makes atlas stitching a lot faster compared to whatever spaghetti code was originally doing that.
Special credit to Sciss for the MIT-licensed java rectangle packing code, i took that code as a base and improved upon it to achieve this.
Fixed a bug that caused animated textures to sometimes disappear.
Initial modrinth release. See the github repo for more info.