This tree is a port maintained by Huzzyman to bring the MCglTF glTF model loader to Minecraft Forge 1.20.1, so other mods in this project (and any consumer) can load and render glTF models on that version.
All credit for the original library, design, and feature set goes to the MCglTF / ModularMods project and its contributors. This repository only exists to provide a compatible build for Forge 1.20.1; it is not a separate project claiming authorship of MCglTF itself.
- Original mod / upstream: CurseForge — MCglTF · community and sources are associated with the ModularMods org (see example usage at MCglTF-Example).
A 3D model loader library which load glTF format file and prepare the required techniques to render the model for Minecraft Modding environment. Various features from glTF spec are available but still remain a good compatibility and performance.
The example codes for rendering Block, Item, and Entity
- GLTF format (Embedded resources or via ResourceLocation)
- GLB format
- UVs
- Normals
- Tangents
- Vertex colors
- Materials (Require OptiFine or Iris Shaders and supported ShaderPack for PBR and Normal map)
- Textures
- Mutiple texture coordinates (For compatibility reason with Vanilla)
- Rig
- Animations (multiple)
- Morph targets
- Zero-scale node culling (KhronosGroup/glTF#2059)
- JglTF by javagl : https://github.com/javagl/JglTF
- Mikk Tangent Generator by jMonkeyEngine : https://github.com/jMonkeyEngine/jmonkeyengine