OvrLightSettings
Subclass of UnityEngine.Monobehaviour
Description
The responsible component for setting up the basic Light settings of the OVER Experience to be published.
OvrLightSettings is responsible for customizing the behavior of the lighting system in relation to the settings present in the OVER App.
OVER Default
In order to enable the default OVER Light, always present in App, a LightPreferenceSetting EnableOvrDefaultLight needs to be set.
This default light is useful when no custom-made light is present in the Scene. When enabled it can provide basic lighting.
AR Settings
To enable the AR Light System, a LightPreferenceSetting, EnableARLightSystem, needs to be set. In addition, at least one OvrARLight needs to be present in the Scene for an optimal AR result. Alternatively enable the OVER Default light, which will also be set as ARLight.
This influences the behaviour of the Light system, used mainly in an AR Environment.
AR Lights in the OVER App usually behave differently to custom lights, simulating the color and intensity of natural light in the real environment where the user is interacting with the AR experience.
See the AR Light section for more details about how this impacts the user experience in the App.
Shadows
Shadows are handled automatically by the Unity Lighting system.
In order to further customize a shadow's behaviour, the OVER SDK lets the user – once LightPreferenceSetting CustomShadowSettings is enabled – to set a shadow's distance, projection and resolution.
Last updated