Tidus
1
https://playground.babylonjs.com/#14KRGG#462
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, scene, 128, false, true, false, true);
scene.createDefaultEnvironment({
environmentTexture: reflectionTexture
});
Vinc3r
2
I think it’s just a CORS issue. Check Using External Assets In the Playground | Babylon.js Documentation
If I load your HDR on my PC in a local webserver, it works fine:
Tidus
3
Thanks,maybe i described wrong,it’s not caused by the hdr, my real promblem is this…
The problem in your PG is that you create a default environment, which creates a box/plane that hides the photodome:
https://playground.babylonjs.com/#14KRGG#464