environment

Represents settings that affect the environment in which the web scene is displayed. It is entirely stored as part of the initial state of the web scene, and partially in the slides in the presentation.

Properties

Property Details
atmosphereEnabled Whether the atmosphere should be visualized. This includes sky and haze effects.
background The background is what is displayed behind any scene objects, stars and atmosphere.
lighting Object containing information on how the scene is lit.
starsEnabled Whether stars should be displayed in the sky.

Example

{
  "environment": {
    "atmosphereEnabled": true,
    "background": {
      "type": "color",
      "color": [
        0,
        0,
        0
      ],
      "transparency": 0
    },
    "starsEnabled": true
  }
}

Feedback on this topic?