Hey guys, this is probably pretty simple stuff but just can’t seem to find an answer in the documentation. We’re trying to import a test .glb file which you can grab here:
Dropping that into the sandbox shows up a model pretty much as we’d expect, namely with normal and AO textures included. However, loading it using the usual sceneloader code or asset manager seems to completely ignore those textures: https://playground.babylonjs.com/#CU2WRV
Are those textures not included by default when 3D files are exported? I’ve checked and materials assigned to the mesh don’t seem to have anything plugged into their bump or AO slots. Is there some step we’re missing on load? Any help would be super appreciated.
Awesome, thanks! That’s definitely helped with the normals. The ambient occlusion map still hasn’t come through though.
Is the AO that’s shown in the sandbox being generated through Babylon somehow or is that coming from the AO textures in the glb file? I noticed you can switch the AO on and off in the sandbox settings.