/MCglTF

glTF library for Minecraft Modding

Primary LanguageJavaMIT LicenseMIT

MCglTF

A 3D model loader library which load glTF format file and prepare the required techniques to render the model for Minecraft Modding enviroment. Various features from glTF spec are available but still remain a good compatibility and performance.

Usages

The example codes for rendering Block, Item, and Entity

Features

  • 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)

Credit