jbroadway / UnityGLTF

Runtime GLTF Loader for Unity3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnityGLTF

Unity3D library for exporting, loading, parsing, and rendering assets stored in the GLTF 2.0 file format at runtime.

The specification isn't finalized yet and this loader is a work in progress. Feel free to check it out and contribute, but don't use it for anything serious yet.

Examples

  1. Clone or download the repository.
  2. Open up the Unity project and run any of the example scenes in Assets/GLTF/Examples

You should see something like this:

GLTF Lantern

Features

  • Unity Component for rendering a GLTF model at runtime (GLTFComponent)
  • Parsing GLTF files into an easy to use C# class (GLTFParser)
  • Loading Meshes
  • Loading Materials
    • Base Color/Diffuse texture
    • Normal/Bumpmap
    • Metallic Roughness Physically Based Rendering
    • Specular Glossiness Physically Based Rendering (extension)
    • Occlusion map
    • Transparent materials
  • Loading animations
  • Loading cameras
  • Sparse array storage
  • Loading binary GLTF files
  • Downloadable as a UnityPackage
  • Published in the Unity Asset Store

About

Runtime GLTF Loader for Unity3D

License:MIT License


Languages

Language:C# 95.1%Language:HLSL 3.4%Language:ShaderLab 1.5%