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 (
https://www.threekit.com/blog/gltf-everything-you-need-to-know), 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 (
https://awesomesaucelabs.github.io/piglet-webgl-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 KTX for Unity (
https://docs.unity3d.com/Packages/com.unity.cloud.ktx@3.2/manual/index.html) (Unity 2020.3+)
* supports Draco mesh compression via Draco for Unity (
https://docs.unity3d.com/Packages/com.unity.cloud.draco@5.1/manual/index.html) (Unity 2020.3+)
* tested with glTF models from Sketchfab and Blender (
https://www.blender.org/)
* 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 (
https://awesomesaucelabs.github.io/piglet-manual/index.html#supported-gltf-extensions) and Known Issues (
https://awesomesaucelabs.github.io/piglet-manual/index.html#known-issues) in the manual.
Tutorial Videos
Editor Import Demo (
https://youtu.be/wf26w0gcVcA)
Learn how to import glTF files into Unity by drag-and-drop.
Runtime Import Tutorial (
https://youtu.be/f66wmgSTPI0)
Learn how to load glTF files from runtime scripts.
Editor Animation Tutorial (
https://youtu.be/MX2cIKCxm90)
Learn how to preview glTF animations in the Editor, and how to play them at runtime.
Runtime Animation Tutorial (
https://youtu.be/FBLCKLZljRE)
Learn how to load and play animations from glTF files in runtime scripts.
Links
* Web Demo (
https://awesomesaucelabs.github.io/piglet-webgl-demo/)
* Manual (
https://awesomesaucelabs.github.io/piglet-manual/)
* Piglet Thread (
https://forum.unity.com/threads/released-piglet-gltf-importer.928446/) (Unity Forum)
* Changelog (
https://awesomesaucelabs.github.io/piglet-manual/index.html#changelog)
* PigletViewer (
https://github.com/AwesomesauceLabs/piglet-viewer) (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 (
https://github.com/sketchfab/UnityGLTF) (MIT License), which is itself a heavily modified fork of KhronosGroup/UnityGLTF (
https://github.com/KhronosGroup/UnityGLTF) (MIT License).
In addition, Piglet bundles the following libraries:
* Json.NET (
https://www.newtonsoft.com/json) by Newtonsoft (
https://www.newtonsoft.com) (MIT License)
* SharpZipLib (
https://github.com/icsharpcode/SharpZipLib) by icsharpcode@github (
https://github.com/icsharpcode) (MIT License)
Description sourced from the Unity Asset Store listing.