Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 987 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 987 Bytes

UnityGltf

glTF importer for Unity (similar to https://github.com/KhronosGroup/UnityGLTF)

Currently only the built-in render pipeline is supported.

Use https://github.com/Panzerhandschuh/UnityGltfTool to configure colliders and convert images to dds files.

Features:

Usage

Loading a non-reference counted glTF asset:

GltfLoader loader = new GltfLoader(gltfPath);
GameObject obj = loader.Load();

Loading a reference counted glTF asset:

GameObject obj = AssetManager.Instance.LoadGltf(gltfPath);

Example

Load Scenes/SampleScene.unity and press play