I am trying to assign ambientTexture but it doesn’t work, here is PG
But when I upload my gltf on https://sandbox.babylonjs.com and upload ambient image manually by setting ambient texture property of material on sandbox, it works
what am I missing?
You need an environment texture for your AO maps to have a visible impact:
Note that the effect is subtle but still visible:
First picture is with AO texture, second one without (I have deleted the ambient texture with the inspector).
Uploading the texture by hand in the inspector does not produce the same result because in the glb file the texture is Y inverted:
But when you upload a texture manually through the inspector it is not:
ah you are a life savior, Thank you