Why is this scene mirrored?

Hello guys,

I try to render a model I got from turbosquid. As always I put it in the sandbox to see how it looks. It looks nice. Then I tried to implement it in my project and I noticed that the whole model is mirrored.

How can that happen? I just set up the engine, the scene and a hemisphericLight.



I would like to know how to get the same result in my project as in sandbox. The materials look very different too. I appended the model to my scene via AppendAsync.

Thank you for your help :slight_smile:

You probably need to set an environment texture.

For eg:

scene.environmentTexture = 
  BABYLON.CubeTexture.CreateFromPrefilteredData("textures/environment.env", scene);

Unfortunately not. Initially I used the same environment texture, but it doesn’t change anything.

I included the studio.env instead of the environment.env and it’s as beautiful as in the sandbox. But the scene is still mirror-inverted.

Maybe you can try:

scene.useRightHandedSystem = true;

just after the scene is created (before loading the glb).

That solved it. Thank you very much!