# Display viewport into Widgets (no SceneCapture2D)

**URL:** <https://forums.unrealengine.com/t/display-viewport-into-widgets-no-scenecapture2d/643733>\
**Category:** UI\
**Tags:** unreal-engine, UE5-0, Widget, UMG\
**Created:** [September 7, 2022, 4:38pm UTC](https://forums.unrealengine.com/t/display-viewport-into-widgets-no-scenecapture2d/643733 "2022-09-07T16:38:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Supremative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/supremative/32/906564_2.png) [@Supremative](https://forums.unrealengine.com/u/Supremative)\
**Post date:** [September 7, 2022, 5:17pm UTC](https://forums.unrealengine.com/t/display-viewport-into-widgets-no-scenecapture2d/643733/2 "2022-09-07T17:17:08Z")

</div>

I am not sure that it is possible to solve this issue with blueprints. But I found a workaround: I transform the viewport with a material post-process and fit it to the position of the widgets on the screen:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/5/cf57fa701cd34bb644a04b607a1193e1db4aa184.jpeg)

The post-process material will look like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/9/ce96ef895e5864b0770fff6564ccdff9df48e6fc.png)

Here’s what it looks like on the screen:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/9/14914f45f845f29d765d4fae5084a2672307b2d9.jpeg)

You will need to do some math to get the correct results on the screen.  
However, this approach has a significant drawback: you need to perform reverse calculations to interact with scene objects, with Line Trace or another way.  
My Quiet Docking System has such a viewport fitting:

> **[Quiet Docking System in Blueprints - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/quiet-docking-system)**
>
> The tool allows you to quickly construct a dynamic user interface.

---

_[View the full topic](https://forums.unrealengine.com/t/display-viewport-into-widgets-no-scenecapture2d/643733)._
