# \[All VR\] 3D Crosshair Tutorial

**URL:** <https://forums.unrealengine.com/t/all-vr-3d-crosshair-tutorial/56492>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [February 25, 2016, 10:32pm UTC](https://forums.unrealengine.com/t/all-vr-3d-crosshair-tutorial/56492 "2016-02-25T22:32:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HEGI](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hegi/32/1194664_2.png) [@HEGI](https://forums.unrealengine.com/u/HEGI)\
**Post date:** [February 25, 2016, 10:32pm UTC](https://forums.unrealengine.com/t/all-vr-3d-crosshair-tutorial/56492/1 "2016-02-25T22:32:52Z")

</div>

Hey!

A while ago i wrote some C++ code for a proper stereo rendered crosshair that works with all VR headsets. Oculus released a GearVR sample project today on their store, reminding me that it would be cool to have some standard VR feature templates for UE4 aswell, so i decided to update and publish the crosshair code on the UE4 wiki.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fa87b2d2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fa87b2d2](https://forums.unrealengine.com/u/anonymous_user_fa87b2d2)\
**Post date:** [February 26, 2016, 10:51am UTC](https://forums.unrealengine.com/t/all-vr-3d-crosshair-tutorial/56492/2 "2016-02-26T10:51:16Z")

</div>

Hi Michael,

thanks for the contribution. Might it also be possible to include some screenshots of the functionality? That would be helpful as well.

Regards

---

<div class="post-metadata">

**Author:** ![HEGI](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hegi/32/1194664_2.png) [@HEGI](https://forums.unrealengine.com/u/HEGI)\
**Post date:** [February 26, 2016, 12:38pm UTC](https://forums.unrealengine.com/t/all-vr-3d-crosshair-tutorial/56492/3 "2016-02-26T12:38:07Z")

</div>

That is difficult, since the effect is only visible in stereo rendering. I.e when you put on you’re headset. On a monitor it looks like just a normal crosshair.  
But i’ll see what i can do, to make it more clear what it does on a screenshot.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [February 26, 2016, 3:09pm UTC](https://forums.unrealengine.com/t/all-vr-3d-crosshair-tutorial/56492/4 "2016-02-26T15:09:37Z")

</div>

Cool stuff, but shouldn’t it be a standard feature of UE4 ?

---

<div class="post-metadata">

**Author:** ![HEGI](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hegi/32/1194664_2.png) [@HEGI](https://forums.unrealengine.com/u/HEGI)\
**Post date:** [February 26, 2016, 4:34pm UTC](https://forums.unrealengine.com/t/all-vr-3d-crosshair-tutorial/56492/5 "2016-02-26T16:34:45Z")

</div>

I think epic may add something like that to a future VR template ?! It’s definitely a standard feature for VR, but it’s not that hard to do.
