Skip to content

Object containing information for the virtual lighting type. The position of the light follows the camera and is set behind the camera with a small offset to the left side.

Referenced by: lighting

Properties

Property Details
directShadows Indicates whether to show shadows cast by the main light source.
glow Defines stylized glow on emissive elements in the scene. When glow is unset, emissive elements display with a natural lighting appearance.
type The type of lighting
Valid value of this property virtual

virtualLighting Example

{
  "directShadows": true,
  "type": "virtual",
  "glow": {
    "intensity": 0.4
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.