Piglet: glTF Importer

Note to URP users!: After installing Piglet, you need to manually unpack the URP shaders by double-clicking Assets/Piglet/Extras/URP-Shaders-2020.2.unitypackage.


Description


Load 3D models in glTF format, in the Editor or at runtime. Choose from more than 500,000 glTF assets on Sketchfab to help build your project.


Visit the Web Demo to try Piglet before you buy it.


Features


* import glTF models in the Editor or at runtime
* import glTF models from .gltf/.glb/.zip files, using file paths or HTTP URLs
* import and play glTF animations (including skins and blendshapes)
* import glTF textures and materials, for use with your own models
* supports supercompressed textures via KtxUnity (Unity 2019.3+)
* supports Draco mesh compression via DracoUnity (Unity 2019.3+)
* tested with glTF models from Sketchfab and Blender
* supported render pipelines: built-in (Unity 2018.4+), URP (Unity 2019.3+)
* supported platforms: Windows, Mac, Android, iOS, WebGL, UWP
* full source code provided

For further details about Piglet's capabilities, see Supported glTF Extensions and Known Issues in the manual.


Tutorial Videos


Editor Import Demo
Learn how to import glTF files into Unity by drag-and-drop.

Runtime Import Tutorial
Learn how to load glTF files from runtime scripts.

Editor Animation Tutorial
Learn how to preview glTF animations in the Editor, and how to play them at runtime.

Runtime Animation Tutorial
Learn how to load and play animations from glTF files in runtime scripts.

Links


* Web Demo
* Manual
* Piglet Thread (Unity Forum)
* Changelog
* PigletViewer (demo app)

Support


If you encounter problems with Piglet, please email me at "awesomesaucelabs" (at gmail).


Bug reports are greatly appreciated! If one of your glTF files is not loading/rendering correctly, please send an email with a description of the problem and a copy of your glTF file attached. (Screenshots are also extremely helpful.) I recognize that your glTF files may contain private intellectual property, but in most cases I will need a copy of your glTF file in order to troubleshoot the issue. I promise to keep your files private!


Contract Work


I am available for contract work, if you need specific Piglet features/fixes implemented by a deadline. Please email me at "awesomesaucelabs" (at gmail) to negotiate scheduling and pricing.


Acknowledgements


Piglet is a heavily modified fork of sketchfab/UnityGLTF (MIT License), which is itself a heavily modified fork of KhronosGroup/UnityGLTF (MIT License).


In addition, Piglet bundles the following libraries:


* Json.NET by Newtonsoft (MIT License)
* SharpZipLib by icsharpcode@github (MIT License)