GLTF2Export.GLBAsync missing uv-scale on ambientTexture

Hello guys,

I noticed that the uv-scale of a pbr material’s ambientTexture does not get exported with the GLTF2Export.GLBAsync function as of v5.56

Here is a demo where the export should have a uv-scale of 10 on the ambientTexture, but it is 1

This seems to be basically the same as an already solved issue from last year, just on the pbr material instead of the standard material:

@carolhmj, can you have a look ? it seems it should have been in your previous PR

Lemme see what’s going on

1 Like

Ok a line had to be added, here is it: Fix GLTF export of ambient texture with texture transforms by carolhmj · Pull Request #13746 · BabylonJS/Babylon.js (


Thank you guys very much for the quick fix!