# How to handle transparency in 3D widget

**URL:** <https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085>\
**Category:** Rendering\
**Tags:** translucent, unreal-engine, Rendering, Widget, question\
**Created:** [October 12, 2015, 7:04pm UTC](https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085 "2015-10-12T19:04:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GamesByHyper\_Eric](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamesbyhyper_eric/32/709237_2.png) [@GamesByHyper\_Eric](https://forums.unrealengine.com/u/GamesByHyper_Eric)\
**Post date:** [October 12, 2015, 7:04pm UTC](https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085/1 "2015-10-12T19:04:33Z")

</div>

Helly there,

I’m trying to have a 3d widget with transparency in UE4. When the widgets moves, the widget becomes blurry and unreadable. It is not placed in a postprocess with motion blur.

When I check the box “Is Opaque” in the rendering options of the 3D widget, the problem is solved, but the widget isn’t translusent anymore.

Can anyone help me to solve this?

Thanks in advance and kind regards,

ERuts

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0abc0bce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0abc0bce](https://forums.unrealengine.com/u/anonymous_user_0abc0bce)\
**Post date:** [October 12, 2015, 7:35pm UTC](https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085/2 "2015-10-12T19:35:28Z")

</div>

This is because each frame, the widget is rendered on top of the previous frame. In order to correctly show transparent windows, you need to clear the frame buffer before re-rendering it the next frame.

This is handled automatically by using a material of the correct translucency type, since it is moved later in the rendering pipeline: see [Using Transparency in Unreal Engine Materials | Unreal Engine 5.2 Documentation](https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/HowTo/Transparency/index.html)

See [UMG Styling in Unreal Engine | Unreal Engine 5.2 Documentation](https://docs.unrealengine.com/latest/INT/Engine/UMG/UserGuide/Styling/index.html#dynamicmaterials) for using dynamic materials as a Slate Brush.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![GamesByHyper\_Eric](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamesbyhyper_eric/32/709237_2.png) [@GamesByHyper\_Eric](https://forums.unrealengine.com/u/GamesByHyper_Eric)\
**Post date:** [October 12, 2015, 7:48pm UTC](https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085/3 "2015-10-12T19:48:57Z")

</div>

The content of the widgets are not materials but textures. Within the texture, transluceny is used. I’m not sure what you propose for a solution.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0abc0bce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0abc0bce](https://forums.unrealengine.com/u/anonymous_user_0abc0bce)\
**Post date:** [October 12, 2015, 7:58pm UTC](https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085/4 "2015-10-12T19:58:13Z")

</div>

Ensure that you render with a material, instead of a texture. With dynamic material instances, you can change the render pipeline settings and hence fix the issue. It boils down to the following: ensure that you use a translucent material, instead of the default material, to render your transparent widget.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0abc0bce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0abc0bce](https://forums.unrealengine.com/u/anonymous_user_0abc0bce)\
**Post date:** [October 12, 2015, 8:02pm UTC](https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085/5 "2015-10-12T20:02:52Z")

</div>

It can even be sufficient to use Material-based Images ([UMG Styling in Unreal Engine | Unreal Engine 5.2 Documentation](https://docs.unrealengine.com/latest/INT/Engine/UMG/UserGuide/Styling/index.html#materialbasedimages)) in UMG/Slate, and skip the dynamic material instance altogether.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0abc0bce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0abc0bce](https://forums.unrealengine.com/u/anonymous_user_0abc0bce)\
**Post date:** [October 15, 2015, 7:40pm UTC](https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085/6 "2015-10-15T19:40:33Z")

</div>

Material-based images have no effect. It is not an option to move the widget to a mesh, since it is no longer interactive then.

The problem is that the transparent image is not properly removed from the buffer when the next frame is rendered. This only happens with a movable object that moves through 3d-space, but is still on a fixed position relative to the camera.

Disabling motion-blur reduces the effect, but it remains visible. But we need it to be unnaffected by the world.

Feature request: we need for Unreal to render 3d widgets in a whole separate pass from the rest. Widgets should not be affected by post-processing or other weird realistic rendering artifacts, because it severely reduces legibility of them. Just like regular HUD elements are rendered on-top of the world!

---

<div class="post-metadata">

**Author:** ![GamesByHyper\_Eric](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamesbyhyper_eric/32/709237_2.png) [@GamesByHyper\_Eric](https://forums.unrealengine.com/u/GamesByHyper_Eric)\
**Post date:** [October 31, 2015, 1:06pm UTC](https://forums.unrealengine.com/t/how-to-handle-transparency-in-3d-widget/335085/7 "2015-10-31T13:06:00Z")

</div>

Does anyone has new information?
