glTF rendered with issues on BabylonJS but correct on ThreeJS

The following free glTF 3D model is rendered incorrectly in the BabylonJS viewer but correctly in the ThreeJS viewer.

Can anyone explain what is the issue?

I will provide link to threejs viewer in a reply - as a new user I cannot post more than 2 links at a time.

3D model: https://www.turbosquid.com/3d-models/nuttellalatte-3d-model-1782190

BabylonJS viewer: https://sandbox.babylonjs.com/

ThreeJS Viewer: https://gltf-viewer.donmccurdy.com/

@bghgary could you have a look ? it seems related to ambient ?

It looks like an issue with the model as the ambient color is all black in the texture preventing any indirect lighting.

You can see it in three js as weel on https://gltf.report/ or vscode gltf viewer or don s viewer by unchecking add light.

2 Likes