Is Babylonjs' skybox using Equi Angular Cubemap?

Panorama to Cubemap (jaxry.github.io)

Eight corners can be clearly seen in the panorama converted by Panorama to Cubemap (jaxry.github.io) .
The transition is not very smooth

    skyboxMaterial.reflectionTexture = new BABYLON.CubeTexture("textures/TropicalSunnyDay", scene);
    skyboxMaterial.reflectionTexture.coordinatesMode = BABYLON.Texture.SKYBOX_MODE;

cc @sebavan

From the code comments here, it seems to be inverse cubic: Babylon.js/texture.ts at master · BabylonJS/Babylon.js (github.com)

1 Like

you should be able to use coordinate mode FIXED_EQUIRECTANGULAR_MIRRORED_MODE with a 360 picture.

1 Like

Can you share a repro in the PG. I have hard time figuring out what is the issue

1 Like


I have re implemented the conversion function locally through Electron, and now the display of the Sky Box is normal

1 Like