Hi , i am traying to change the texture of a dome but it is not working , any help ?
dome = new BABYLON.PhotoDome(“testdome”,img1.jpg ,{resolution: 512,size: 1000},scene);
var mat = new BABYLON.StandardMaterial(“mat”, scene);
var texture = new BABYLON.Texture(“img2.jpg”, scene);
mat.diffuseTexture = texture;
dome.material = mat;