Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UniGLTF/README 更新 #1249

Merged
merged 1 commit into from
Sep 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)