Siccity / Gltfutility
Licence: mit
Simple GLTF importer for Unity
Stars: ✭ 305
Projects that are alternatives of or similar to Gltfutility
Knight
Knight is a game framework based on Unity3D engine. It includes a complete assetbundle manager, a c# hotfix module based on ILRuntime, and a UI module based on MVVM, and other basic functions support.
Stars: ✭ 302 (-0.98%)
Mutual labels: unity
Unity Destruction
💥 An open-source script to destroy objects realistically in Unity3D.
Stars: ✭ 291 (-4.59%)
Mutual labels: unity
Depthinverseprojection
An example showing how to inverse-project depth samples into the view/world space in Unity.
Stars: ✭ 296 (-2.95%)
Mutual labels: unity
Screenmanager
Flexible way to manage screens with transitions for Unity
Stars: ✭ 300 (-1.64%)
Mutual labels: unity
Zcode Assetbundlepacker
Unity的AssetBundle模块扩展插件,主要目的用于简化AssetBundle打包,提供AssetBundle管理,支持热更新、支持资源包下载、支持版本控制。
Stars: ✭ 291 (-4.59%)
Mutual labels: unity
Configurableshaders
Showing off the power of shader properties in Unity
Stars: ✭ 304 (-0.33%)
Mutual labels: unity
Unity Serializabledictionary
Serializable dictionary class for Unity
Stars: ✭ 302 (-0.98%)
Mutual labels: unity
Ilruntime hotgames
基于ILRuntime的热更新能力实现的可以直接使用的框架,友情赠送C# WebService + WebSocketServer服务器端。
Stars: ✭ 293 (-3.93%)
Mutual labels: unity
Nativerenderingplugin
C++ Rendering Plugin example for Unity
Stars: ✭ 299 (-1.97%)
Mutual labels: unity
Project Skylines
procedural retro 3d game, winner of the GitHub Gameoff 2017
Stars: ✭ 293 (-3.93%)
Mutual labels: unity
Liquidsimulator
Cellular Automaton 2D Liquid Simulator for Unity
Stars: ✭ 302 (-0.98%)
Mutual labels: unity
Gromit Mpx
Gromit-MPX is an on-screen annotation tool that works with any Unix desktop environment under X11 as well as Wayland.
Stars: ✭ 287 (-5.9%)
Mutual labels: unity
Marching Cubes Terrain
Marching Cubes terrain implementation in Unity using the Job System and the Burst compiler
Stars: ✭ 292 (-4.26%)
Mutual labels: unity
Proceduralmotiontrack
Simple procedural motion with Unity Timeline.
Stars: ✭ 300 (-1.64%)
Mutual labels: unity
Standardgeometryshader
An example of a geometry shader with Unity's standard lighting model support.
Stars: ✭ 303 (-0.66%)
Mutual labels: unity
GLTFUtility
Allows you to import and export glTF files during runtime and in editor. glTF is a new opensource 3d model transmission format which supports everything you'll ever need from a format in Unity. Read more about glTF here
What makes GLTFUtility different?
Focusing on simplicity and ease of use, GLTFUtility aims to be an import-and-forget solution, keeping consistency with built-in functionality.
Installation
Using Unity Package Manager (Help)
"com.siccity.gltfutility": "https://github.com/siccity/gltfutility.git"
Using git
- Get Newtonsoft.JSON from one of these sources
- Official upm package:
"com.unity.nuget.newtonsoft-json": "2.0.0-preview"
, - Unofficial git repo: https://github.com/jilleJr/Newtonsoft.Json-for-Unity
- Official upm package:
- Clone GLTFUtility by itself or as a submodule
- Clone into your assets folder
git clone [email protected]:Siccity/GLTFUtility.git
- Add repo as submodule
git submodule add [email protected]:Siccity/GLTFUtility.git Assets/Submodules/GLTFUtility
- Clone into your assets folder
Manual download
- Get Newtonsoft.JSON from the asset store
- Download GLTFUtility-master.zip and extract to your project assets
Features
System
- [x] Editor import
- [ ] Editor export
- [x] Runtime import API
- [ ] Runtime export API
- [x] GLTF format
- [x] GLB format
- [x] Multithreading
- [x] URP #75
- [ ] HDRP #73
- [ ] LWRP
Spec
- [x] Static mesh (with submeshes)
- [x] UVs (up to 8 channels)
- [x] Normals
- [x] Tangents
- [x] Vertex colors
- [x] Materials (metallic/specular, opaque/mask/blend)
- [x] Textures (embedded/external)
- [x] Remote textures (during async only)
- [x] Rig
- [ ] Avatar/Mask #70
- [x] Animations (multiple)
- [x] Morph targets (with experimental names)
- [x] Cameras
Extensions
- [x] KHR_texture_transform (partial support)
- [x] KHR_materials_pbrSpecularGlossiness
- [ ] KHR_lights_punctual #25
- [x] KHR_draco_mesh_compression #27
Known issues
-
ArgumentNullException: Value cannot be null
in build but not in editor.- This is most likely due to shaders being stripped from the build. To fix this, add the GLTFUtility shaders to the Always Included Shaders list in Graphic Settings.
Runtime import API
// Single thread
using Siccity.GLTFUtility;
void ImportGLTF(string filepath) {
GameObject result = Importer.LoadFromFile(filepath);
}
// Multithreaded
using Siccity.GLTFUtility;
void ImportGLTFAsync(string filepath) {
Importer.ImportGLTFAsync(filepath, new ImportSettings(), OnFinishAsync);
}
void OnFinishAsync(GameObject result) {
Debug.Log("Finished importing " + result.name);
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].