Viz Artist User Guide

Version 5.1 | Published October 31, 2023 ©

Reflections and Shadows Compositing in UE5

Activate the VizrtCompositor plug-in.

images/download/attachments/105110147/vizrtcompositorplugin.PNG

images/download/attachments/105110147/image2022-7-14_15-19-11.png

We need to add Compositor to the World and after that we see this window:

images/download/attachments/105110147/image2022-7-14_15-20-29.png

If we want a Clip coming from Viz as a background we should add the CLIP1 Texture in the Media Input as in the picture.

Note: If the Unreal output is being sent to Viz Engine through an AUX asset with the Overscan option set to true (used when Lens Distortion is active), the option Match Viewport Resolution with Media Input must be set to False.
images/download/attachments/105110147/matchviewport.PNG

We need to drop the Composite Mesh into the level.

images/download/attachments/105110147/image2022-5-12_17-25-40.png

After dropping the Composite Mesh into the level we have the following:

images/download/attachments/105110147/image2022-7-14_15-23-2.png

To add the shadows, we have to access the CompositeMesh's Details panel and change the field below to a value greater than 0.

images/download/attachments/105110147/image2022-7-14_15-25-9.png

This gives the shadows from the example meshes in the composite mesh.

images/download/attachments/105110147/image2022-7-14_15-25-49.png

To add the reflections we need to add a Composite Planar Reflection to the level.

images/download/attachments/105110147/image2022-7-14_15-27-5.png

In the Composite Planar Reflection Details panel, we add our actors to the reflection capture:

images/download/attachments/105110147/image2022-7-14_15-28-36.png

Something like this:

images/download/attachments/105110147/image2022-7-14_15-29-3.png

After adding all the actors we want to reflect to the Planar Reflection from the Compositor, we just need to go to the Composite Mesh and change the Planar Reflection fields:

images/download/attachments/105110147/image2022-7-14_15-30-41.png

(different values give different results)

images/download/attachments/105110147/image2022-7-14_15-31-22.png

In the end of this process, we have this:

images/download/attachments/105110147/image2022-7-14_15-32-6.png

Warning: If transparent objects are composited using the Vizrt Compositor, please make sure the Anti-Aliasing Method in Project Settings > Engine - Rendering > Default Settings is NOT set to Temporal Super-Resolution (TSR).
images/download/attachments/105110147/antialiasing.PNG