Add serializer support for KHR_Materials_Specular #8968
Milestone
Comments
Currently we convert spec gloss to metal rough, however we probably should export glossiness factors/textures as part of our support for KHR_materials_specular |
Changing the title to represent this, I'd rather do this right, and have a more futureproof solution than making a half measure to fix a specific issue. Recategorizing as our support for KHR_materials_specular in our serializers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See forum post: https://forum.babylonjs.com/t/babylon-editor-export-texture-scaling/12723/26
Reproducible via playground: https://playground.babylonjs.com/#DHZKGW#7
Currently when we export specularGlossiness PBRMaterials via
_GLTFMaterialExporter._convertSpecularGlossinessTexturesToMetallicRoughnessAsync
We combine albedo + glossiness textures into Base64 texture string, stripping all extension information.
This should probably be changed to bake transform information before combining the textures.The text was updated successfully, but these errors were encountered: