# VR Screen Space Widgets

**URL:** <https://forums.unrealengine.com/t/vr-screen-space-widgets/483844>\
**Category:** XR Development\
**Tags:** screen-space, world-space, unreal-engine, Widget, question\
**Created:** [May 24, 2021, 3:53pm UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844 "2021-05-24T15:53:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_772e8f1d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_772e8f1d](https://forums.unrealengine.com/u/anonymous_user_772e8f1d)\
**Post date:** [May 24, 2021, 3:53pm UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844/1 "2021-05-24T15:53:30Z")

</div>

Hello all,

I’m trying to render a Widget in VR to show some text on the world. The example image I’m showing you is taken from a standard viewport, not VR. I’m trying to accomplish something similar to it with an HMD, but screen space widgets just don’t work, they stand close to the user’s view because… well… obviously it is not a screen but an HMD view.

What should be my approach here? Is there an alternative where I render the widget as world space and set a specific material type and rotate it towards the player?

Thanks in advance!

 ![338959-example-in-standard-viewport.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/5/025b7b47efc62e8a66bc21465f8e716c112387a0.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 24, 2021, 4:03pm UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844/2 "2021-05-24T16:03:12Z")

</div>

A widget component:

 ![339652-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/3/5f3dbe43b95d5ce45ab1f62b9d70ee8a0b0106c6.jpeg)

As a bonus you get automatic z-Sorting since this is world space. But you’ll need to rotate them manually towards the camera, as you said.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_772e8f1d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_772e8f1d](https://forums.unrealengine.com/u/anonymous_user_772e8f1d)\
**Post date:** [May 24, 2021, 4:08pm UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844/3 "2021-05-24T16:08:43Z")

</div>

Hello, thanks for the answer.  
Maybe I didn’t clarify it, but I’m using a Widget Component.  
The thing is, on world space, if the widget is too far away you can’t see it (low quality and size), as you do in Screen Space.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 24, 2021, 4:31pm UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844/4 "2021-05-24T16:31:44Z")

</div>

There aren’t too many choices here:

- keep it in screen-space and scale far elements down (minor reduction in quality) - not sure how well this will hold up in VR
- use world-space (widgets look meh at best, even up close), scale far elements up based on camera distance

VR is not my domain, though. 😑

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 25, 2021, 9:32am UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844/5 "2021-05-25T09:32:50Z")

</div>

There’s also text render component - it’s world space to you may need to scale it up if it gets too small but the quality is nice.

---

<div class="post-metadata">

**Author:** ![ugmoe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ugmoe](https://forums.unrealengine.com/u/ugmoe)\
**Post date:** [May 25, 2021, 7:58pm UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844/6 "2021-05-25T19:58:19Z")

</div>

on your Widget blueprint, in designer view, try using Custom On Screen or Desired On Screen

 ![339756-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/a/05abcaeb10f97dba3a41dcd8b5741f4e60e553c7.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_772e8f1d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_772e8f1d](https://forums.unrealengine.com/u/anonymous_user_772e8f1d)\
**Post date:** [May 31, 2021, 9:23pm UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844/7 "2021-05-31T21:23:11Z")

</div>

Hello ,  
It didn’t work. I think the problem is that in VR there is no screen to act as a reference, so these type of widgets (Screen Space) won’t work.  
Do you have any suggestions to render text on a really large scaled world?  
Thanks for the suggestion tho.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_772e8f1d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_772e8f1d](https://forums.unrealengine.com/u/anonymous_user_772e8f1d)\
**Post date:** [May 31, 2021, 11:48pm UTC](https://forums.unrealengine.com/t/vr-screen-space-widgets/483844/8 "2021-05-31T23:48:55Z")

</div>

This is how those widgets are showing up in VR.

 ![340349-3689d4002d9a6d799e4d666664b6d951.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/2/0024e227f9347f9767ce8d2a2132fb5f14a8236e.jpeg)
