I found through the source code that gltf has some extended attributes that load textures twice.
gltf json:
sandbox load:
I found through the source code that gltf has some extended attributes that load textures twice.
gltf json:
sandbox load:
cc @bghgary
@brightMoon Can you provide a repro so I can investigate?
In addition, exporting a glb file from the sandbox and importing the new glb file into the sandbox will result in four normal maps
Each extended property will call loadMaterialBasePropertiesAsync again
Wow, nice find. A whole bunch of loader extensions are calling an extra loadMaterialBasePropertiesAsync
. I can’t believe no one has noticed until now.
I will fix them. Thanks for reporting this!
Not bad, as long as it’s discovered and repaired, it’s never too late