-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/memelotsqui/Unity-GLTF-Expo…
- Loading branch information
Showing
1 changed file
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,32 @@ | ||
# Unity-GLTF-Exporter | ||
Export from unity to glTF | ||
|
||
Note: I havent tried on Mac (and i dont think its working there), but I will try to add support on later time. | ||
|
||
Important Setup -> | ||
1- Make sure to install "Shader Graph" package required to create Images for the exporter: | ||
|
||
1-Clone/copy the full project inside Assets Folder | ||
|
||
2- Make sure to install "Shader Graph" package required to create Images for the exporter: | ||
|
||
Window -> PackageManager | ||
|
||
In Unity Registry section, search for shader grraph, and install it. | ||
|
||
2- Add Mono_Export To GLTF to the desired parent node to export | ||
|
||
3- set at least gltf name, model create folder and export location, and press gltf test build | ||
Using the Exporter | ||
|
||
1- Add script: "Mono_Export To GLTF" to the desired parent node to export | ||
|
||
2- Set at least gltf name, model create folder and export location, and press gltf test build | ||
|
||
Adding custom "extras" | ||
|
||
1- Add script: "Object Node User Extras Mono" to the desired node to add an "extra" attribute | ||
|
||
2- Set desired attributes | ||
|
||
3- When exporting, your gltf file will contain any extra attribute added in Unity | ||
|
||
Support: [email protected] | ||
|