Exporter doesn't support base color textures
Am I missing something? Seems like a lot of more advanced functionality is supported...
It seems that for the exporter to work with colors and textures you need to have a shader that is supported by the library on the object you want to export.
Some of these compatible shader are included in the project. It seems you may also use the Standard Unity Shader.
That's a pretty undocumented behavior, the exporter should allow working with any shader, or at least warn the user, even though it might skip some properties upon export...
Yes, thanks.
In the end I hacked the GLTFSceneExporter.cs ExportMaterial function and added the below code after the IsPBRMetallicRoughness test:
else if (materialObj.HasProperty("_MainTex")) { material.PbrMetallicRoughness = ExportPBRMetallicRoughness(materialObj); }
which is working well enough for my purposes...
Please update to the latest version and open a new issue if the problem persists. Thanks!