PBRSettings lets you configure the PBR shading to apply.

Note that to take effect the graphics effects should be configured with a light.

Note that PBR shading requires browser support for float textures. Running the device support sample is a good way to check if this requirement is fulfilled.

Since

2021.1

Hierarchy

  • PBRSettings

Properties

directionalLighting?: boolean

Indicates whether PBR shading should include directional lighting. This is lighting coming from the light that is configured on the map.

Default

<code>true</code>
imageBasedLighting?: boolean

Indicates whether PBR shading should include image-based lighting. This is lighting coming from the environment around the styled object. This environment lighting is taken from the reflection map. This means that to take effect the EnvironmentMapEffect with a reflection map.

Default

<code>true</code>
lightIntensity?: number

The light intensity to use for the PBR lighting. Positive values brighten and negative values darken the shading.

Default

<code>0</code>
material?: null | PBRMaterial

Modify PBR material properties.

Default

<code>null</code>