Cube map environment

An environment from six square images, one per axis direction.

Six cube map images

Six square images, one for each axis direction, in the standard cube map layout for the widget’s z-up world: pz is up and nz is down. The paths are relative to the JSON file.

"renderSettings": {
  "environment": {
    "type": "cubemap",
    "files": {
      "px": "env/px.jpg", "nx": "env/nx.jpg",
      "py": "env/py.jpg", "ny": "env/ny.jpg",
      "pz": "env/pz.jpg", "nz": "env/nz.jpg"
    }
  }
}

Older files set the same six images with the top-level environmentmap, with intensity next to them. That still works. When both are set, renderSettings.environment wins, and "type": "none" switches the environment off.