Environmental Light prefab
Provides environmental light estimation to supporting shaders.
Uses camera sensor data to estimate environmental lighting conditions. Light estimates are accessible to shaders via the
_GlobalLightEstimation global shader property.
This prefab must be used if any materials in your scene use light estimation. This includes the following shaders included in the SDK:
_GlobalLightEstimation property is used to adjust the shader's final color, for consistency with the camera passthrough image.
|Game object name||Description|
Environmental Light game object
EnvironmentalLight component that is responsible for updating the
_GlobalLightEstimation shader property during
This property will only be updated while the current light estimation state is
When this script is missing or disabled, materials that support light estimation will use the last set light estimation value that was set. If the value was never set, materials will render entirely black surfaces, because
_GlobalLightEstimation will be initialized to
0 at startup.