ion () {
        sceneConfig.environment.mode = ambient.mode;
        groupLayer.setSceneConfig(sceneConfig);
      });
      var lCtrl = folder.add(ambient, 'level', 0, 3, 1);
      lCtrl.onChange(function () {
        sceneConfig.environment.level = ambient.level;

        groupLayer.setSceneConfig(sceneConfig);
      });
      var brightnessCtrl = folder.add(ambient, 'brightness', -1, 1, 0.001);
      brightnessCtrl.onChange(function () {
        sceneConfig.environment.brightness = ambient.brightness;

