CustomGLTF
This is a client-side library mod that allows you to load and render glTF 3D models in Minecraft.
What is glTF?
glTF is an open standard file format for 3D models. Its supported by pretty much every 3D software like Blender, Maya, 3ds Max and many more. This makes it super easy to bring your custom models into Minecraft.
Features
- Load glTF and GLB model files
- Full animation support including skeletal animations
- Works with Iris Shaders
- Works with OptiFine shaders via OptiFabric
- GPU accelerated skinning for better performance
- Supports normal maps and specular maps for shader packs
- Multiple OpenGL profiles for different hardware (GL43, GL40, GL33, GL30)
Requirements
- Minecraft 1.20.1
- Fabric Loader 0.14.21 or higher
- Fabric API
Optional but Recommended
- Iris Shaders for shader support
- OptiFabric for OptiFine shader support
For Mod Developers
This is a library mod. It doesnt do anything on its own. You need another mod that uses CustomGLTF to actually see models in game. If youre a mod developer and want to use this library check out the source code for examples on how to implement it.
Credits
This mod is based on MCglTF by TimLee9024. Big thanks to them for creating the original library. I ported it to 1.20.1 and made some changes but the core work is theirs.
Also uses code from JglTF by Marco Hutter.
License
MIT License - Feel free to use this in your modpacks or as a dependency for your mods.
Issues
If you find any bugs or have questions feel free to leave a comment. Im not a professional developer so please be patient with me.