PhotoDome get a strange problem!

var dome = new BABYLON.PhotoDome(

            "testdome",

            "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-fab8bbd8-ac75-4875-8203-2d9054327496/a8050e90-d626-4f35-8c2b-09cf0600f352.png",

            {

                resolution: 32,

                size: 1000,

                useDirectMapping: false

            },

            this.scene

        );

And if i add a hdr environment,the photoDome disappeared…

var urlEnv =“https://vkceyugu.cdn.bspapp.com/VKCEYUGU-fab8bbd8-ac75-4875-8203-2d9054327496/8b0e8c09-81cf-479e-9172-7813ed190be8.HDR”;

    var reflectionTexture = new BABYLON.HDRCubeTexture(urlEnv, this.scene, 128, false, true, false, true);

    this.scene.createDefaultEnvironment({

        environmentTexture: reflectionTexture

    });

It disappears just because the createDefaultEnvironment create a skybox, you can disable it:

https://playground.babylonjs.com/#14KRGG#463

Could you describe what’s “strange” in your problem with the photodome?

3 Likes