# Is there a bug using Planar Reflections and VR in 5.1 preview 2?

**URL:** <https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216>\
**Category:** XR Development\
**Tags:** unreal-engine, question\
**Created:** [November 14, 2022, 8:48am UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216 "2022-11-14T08:48:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jazzillos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jazzillos](https://forums.unrealengine.com/u/jazzillos)\
**Post date:** [November 14, 2022, 8:48am UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216/1 "2022-11-14T08:48:38Z")

</div>

When I try to use Planar Reflections as a mirror in 5.1 I cant get the reflections to render correctly. The dimensions/scale are incorrect.  
If I close my left eye it renders correctly as in ue4, acting as a mirror. I can touch the mirror with my hand and my mirror-reflection is correct.  
If I open my left eye, it does not look like a mirror anymore, the dimensions are wrong. My hands cannot touch the mirror anymore as expected. The reflections are not acting as a proper mirror.  
This can be tested in the VR template. Set up mirror surface and a planar reflection.  
Is there some configuration I have missed or is this a ue5.1 bug?

---

<div class="post-metadata">

**Author:** ![jazzillos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jazzillos](https://forums.unrealengine.com/u/jazzillos)\
**Post date:** [November 16, 2022, 2:04pm UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216/2 "2022-11-16T14:04:43Z")

</div>

@VictorLerp  
Have you tried planar reflections in the template? Maybe you could give me your opinion.  
Also!  
In dx12  
Is it possible to turn on Ray-Lighting mode - Hit Lighting for reflection in Lumen(with hardware raytracing) only for the mirror material. On a 4090 Hit lighting for everything is to expensive, but it seems like only doing this for the mirror could be inside budget in my scenario. This would give me a proper mirror it looks like.  
In dx11  
This is better on performance overall, but Hit Lighting for reflection in Lumen(with hardware raytracing) does not give me proper mirror as in dx12. The reflection is ok for everything else then the mirror, and I have good headroom on performance. In this scenario it would be nice if I could prioritize planar reflections on the mirror as long as it was the correct proportions(first question), but I cant find any way to choose ordinary planar reflections on the mirror instead of lumen reflections.

If one of this alternatives is possible, it looks like a 4090 could give me lumen and a proper mirror inside budget. Actually usable lumen and reflections in VR on a 4090.  
Regards jazzillo

---

<div class="post-metadata">

**Author:** ![Pibanez86](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pibanez86](https://forums.unrealengine.com/u/Pibanez86)\
**Post date:** [February 3, 2023, 2:32am UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216/3 "2023-02-03T02:32:37Z")

</div>

> [@jazzillos](#):
>
> Lighting for reflection in Lumen(with hardware raytracing) only for the mirror material. On a 4090 Hit lighting for everything is to expensive, but it seems like only doing this for the mirror could be inside budget in my scenario. This would give me a proper mirror it looks like.

Sorry, I’m on the same boat. I just tried planar reflections on U5.0 and 5.1 and same happens to me, only the left eye renders correctly. I just tried again in 4.27 and it works perfectly. I wish I could find the answer. I already tried switching to RHI - DirectX11 and nothing! I’ll keep researching!

---

<div class="post-metadata">

**Author:** ![Player](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Player](https://forums.unrealengine.com/u/Player)\
**Post date:** [February 7, 2023, 4:31pm UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216/4 "2023-02-07T16:31:17Z")

</div>

Planar reflections were not working in VR in 5.0 either

---

<div class="post-metadata">

**Author:** ![BaseReality](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/basereality/32/893179_2.png) [@BaseReality](https://forums.unrealengine.com/u/BaseReality)\
**Post date:** [February 9, 2023, 11:43am UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216/5 "2023-02-09T11:43:12Z")

</div>

GUYS!  
Stereoscopic Rendering! in project settings

---

<div class="post-metadata">

**Author:** ![Player](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Player](https://forums.unrealengine.com/u/Player)\
**Post date:** [February 9, 2023, 12:38pm UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216/7 "2023-02-09T12:38:38Z")

</div>

Please elaborate. There is no setting like Stereoscopic Rendering in the project settings, at least I can’t find one.

---

<div class="post-metadata">

**Author:** ![BaseReality](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/basereality/32/893179_2.png) [@BaseReality](https://forums.unrealengine.com/u/BaseReality)\
**Post date:** [February 9, 2023, 12:40pm UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216/8 "2023-02-09T12:40:57Z")

</div>

set Stereo instancing to off IN THE PROJECT SETTINGS, to make both Eyes work with the planer reflection in VR.

---

<div class="post-metadata">

**Author:** ![Loux\_xavier](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loux_xavier/32/1201519_2.png) [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Post date:** [June 29, 2023, 6:09am UTC](https://forums.unrealengine.com/t/is-there-a-bug-using-planar-reflections-and-vr-in-5-1-preview-2/690216/9 "2023-06-29T06:09:46Z")

</div>

> [@BaseReality](#):
>
> Stereoscopic

If I’m right Planar Reflections works with the both eyes in 4.27 with Stereo instancing.
