KhronosGroup / glTF-Blender-IO

Blender glTF 2.0 importer and exporter
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html
Apache License 2.0
1.5k stars 319 forks source link

viewport material export #2390

Open julienduroure opened 2 weeks ago

julienduroure commented 2 weeks ago

New option to export simple material, based on viewport display information.

image

Exported values:

=> This is very fast, as we don't check the node tree. => Custom properties of the material can still be exported

julienduroure commented 2 weeks ago

Note: We are close to 4.3 release, so we can't make this (new feature) into it. This is planned for 4.4

HailToDodongo commented 2 weeks ago

Thanks for looking into this so quickly!

I did gave the PR a test on the latest 4.3 beta, and it does seem to fix my issue. Export works again, and the basic material + custom properties are still there for me to process.

The only thing i noticed is that certain older models have wrong vertex colors, but i can create a separate issue for that. (As a test, .obj export has correct colors)