Skip to main content
Version: Reality 5.4

Shadow and Ambient Occlusion in Augmented Reality

To make shadow and ambient occlusion available in an augmented reality (AR) scenario, you need make following adjustments in project:

Reality Editor Settings

Open your project with Reality Editor.

Project Settings

Go to Edit and select Project Settings.

Engine | Rendering in Project Settings

Click on the Rendering section.

Shadow Map Method

Change the Shadow Map Method to Shadow Maps, as illustrated above. This will ensure that your shadow will be visible on your output.

Dynamic Global Illumination Method

Change the Dynamic Global Illumination Method to Standalone Ray Traced (Deprecated), as illustrated above. This will ensure that your ambient occlusion will be visible on your output.

Lights

Accurate lights are indispensable parts of augmented reality scenarios to cast correct shadow on your scene.

Video Shadow Intensity property of Spot Light actor inside Reality Hub

Video Shadow Intensity Property of Spot Light Actor Inside Reality Hub

To control the intensity of your AR shadow, you have to fine tune Video Shadow Intensity property, as shown in above images.

info

The default value of the Video Shadow Intensity property is 0.0, and at this setting, it will not impact your scene. A property value of 1.0 indicates the full effect.