Skip to content

AsoboStudio/UnityGLTF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityGLTF

Join the chat at https://gitter.im/KhronosGroup/UnityGLTF

Unity3D library for importing and exporting GLTF 2.0 assets.

The goal of this library is to support the full glTF 2.0 specification and enable the following scenarios:

  • Run-time import of glTF 2.0 files
  • Run-time export of glTF 2.0 files
  • Design-time import of glTF 2.0 files
  • Design-time export of glTF 2.0 files

The library will be modularized such that it can be extended to support additional capabilities in Unity or support additional extensions to the glTF specification. The library is designed to work with Unity 5.6 and above.

Current Status

Work Items and Issues targeting a 1.0 release of the library can be found in Road to 1.0

Building

  1. Open GLTFSerialization\GLTFSerialization.sln and compile for release. This will put the binaries in UnityGLTF\Assets\UnityGLTF\Plugins
  2. Open the Unity project located in UnityGLTF\
    • If the meta file gets overridden, the binaries in UnityGLTF\Assets\UnityGLTF\Plugins should be configured for everything but UWP. The binaries in UnityGLTF\Assets\UnityGLTF\Plugins\UWP should be configured for UWP

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

About

Runtime GLTF Loader for Unity3D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 94.6%
  • ShaderLab 3.1%
  • HLSL 2.3%