GLTFExporter not working with PBRMaterial

Hello and welcome!

The generated texture is all white in the resulting glb file.

The issue comes from the readTexturePixels function.

I’ve created a PR here for another reason. Fortunately it fixes your issue as well. So I suggest you to wait for this PR merge.

However you can try it here already: