Mirror View Renderer
Render composition layers to the Main Display when running in XR mode.
The MirrorViewRenderer supports mirror view rendering for Main Display on XR mode. It includes all composition layer drawings.
Tip
This component isn't required if mirror view rendering with all composition layers is already implemented on the XR plug-in side.

The Mirror View Renderer Component Inspector
| Property: | Function: |
|---|---|
| Alpha Mode | Set how draw the eye texture. (Opaque, Alpha and Premultiply) |
Background
In some case, the mirror view rendering with composition layers isn't supported by default.
- Some XR Plug-ins
- Built-in Render Pipeline
Unity provides this function to assist them.
Important
In Unity 6.5 and newer, the Built-In Render Pipeline is deprecated and will be made obsolete in a future release. For more information, refer to Migrating from the Built-In Render Pipeline to URP and Render pipeline feature comparison.
Supplement
Unity adds these shaders to the Always Include Shaders list when adding the MirrorViewRenderer:
- Unlit/XRCompositionLayers/Uber
- Unlit/XRCompositionLayers/BlitCopyHDR