[SOLVED] Change scene rendering options

Hello, when changing scene the rendering options as skybox and fog are not loaded? I ask this coz i just noticed in Kallen that in the last build when loading the game scene the skybox and fog are missing.

Succesfully loaded the fog…still missing skybox. I have tried this in the Game.js initialize function

            if(!app.scene.skybox) {
                app.scene.skybox=this.cubemap;
            }

where this.cubemap is pc.script.attribute(‘cubemap’, “asset”,[]); at start of Game.js script and assigned the cubemap i want

Use setSkybox method on app: http://developer.playcanvas.com/en/api/pc.Application.html#setSkybox

Thanks @max very helpfull