Skip to content

Commit

Permalink
Merge pull request #1249 from ousttrue/fix/unigltf_readme
Browse files Browse the repository at this point in the history
UniGLTF/README 更新
  • Loading branch information
PoChang007 authored Sep 27, 2021
2 parents 52e1ef1 + 6d74ffd commit 62124a6
Showing 1 changed file with 26 additions and 10 deletions.
36 changes: 26 additions & 10 deletions Assets/UniGLTF/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# UniGLTF-2.0

[glTF](https://github.com/KhronosGroup/glTF) 2.0 importer and exporter.
* Unity-Supports 2019.4 and later
* You can import and export glTF-2.0 in Unity's editor and runtime.
* implement `KHR_materials_unlit`
* implement `KHR_texture_transform` (partial)

Unity-2018.4 or later is supported.
# Material

Below is imported from [DamagedHelmet](https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/DamagedHelmet). Using unity standard shader.
## PBR

![standard shader](doc/pbr_to_standard.png)
![duck](doc/duck.png)
![animation](doc/animation.gif)
![SciFiHelmet](doc/SciFiHelmet.png)
* Convert as much as possible between glTF pbr and Unity Standard Shader.
* Converts metal roughness and occlusion RGBA channel incompatibility.

## Unlit

* import: UniGLTF's own `UniGLTF/UniUnlit` shader.
* export: You can export `UniGLTF/UniUnlit` and Unity unilt materials.

* Only `UniGLTF/UniUnlit` supports vertex colors.

## URP

* import only. experimental

# License

Expand All @@ -19,7 +31,11 @@ Below is imported from [DamagedHelmet](https://github.com/KhronosGroup/glTF-Samp

* https://github.com/vrm-c/UniVRM/releases

UniGLTF is part of UniVRM.
From UniVRM-0.63.2, UniGLTF is separated from UniVRM.
# Screenshots

* https://vrm.dev/docs/univrm/gltf/unigltf/
You can import almost all of [gltf_sample_models](https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0)

![standard shader](doc/pbr_to_standard.png)
![duck](doc/duck.png)
![animation](doc/animation.gif)
![SciFiHelmet](doc/SciFiHelmet.png)

0 comments on commit 62124a6

Please sign in to comment.