/UnityGltf

glTF importer for Unity's built-in render pipeline

Primary LanguageC#MIT LicenseMIT

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