
CustomGLTF
A gLTF model loader library for Minecraft Fabric 1.20.1 that allows mods to load and render 3D models in gLTF format with shader support.
Список изменений
### 🐛 Bug Fixes
- Fixed JVM / GPU Driver Crash on Startup: Fixed EXCEPTION_ACCESS_VIOLATION (0xc0000005) in nvoglv64.dll caused by OpenGL state desynchronization with Minecraft's BufferUploader during resource reloading.
- Fixed VAO / EBO State Leaks: Properly preserve and restore bound Vertex Array Objects (VAO), Array Buffers (VBO), Element Array Buffers (EBO), and cull-face states after rendering glTF scenes across all GL profiles
(GL30, GL33, GL40, GL43). - Fixed Texture Atlas Pixel Unpack Corruption: Captured and restored GL pixel unpack parameters (GL_UNPACK_ROW_LENGTH, skip pixels/rows, alignment) during internal texture initialization. - Fixed Crash on Invalid Config Values: RenderedModelGLProfile now handles case-insensitivity and falls back to AUTO instead of throwing an unhandled exception on bad config values. - Improved Resource Loading Safety: Added null-checks and safe resource resolution during parallel glTF loading to prevent worker thread crashes if a model resource is missing. - Lazy Light Texture Initialization: getLightTexture() is now retrieved lazily if queried before the game's texture manager registers dynamic textures.
