Skip to content

yahavt/UnityGLTF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 95.1%
  • HLSL 3.4%
  • ShaderLab 1.5%