# MSAA + 3D Widgets = Horrible jagged edges

**URL:** <https://forums.unrealengine.com/t/msaa-3d-widgets-horrible-jagged-edges/138040>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [February 12, 2020, 1:33pm UTC](https://forums.unrealengine.com/t/msaa-3d-widgets-horrible-jagged-edges/138040 "2020-02-12T13:33:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dmolchanov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dmolchanov](https://forums.unrealengine.com/u/dmolchanov)\
**Post date:** [January 10, 2022, 4:23am UTC](https://forums.unrealengine.com/t/msaa-3d-widgets-horrible-jagged-edges/138040/4 "2022-01-10T04:23:40Z")

</div>

Bumping this thread for people coming here through search.

Another way to solve it is to enable mipmap generation and filtering for the render target. Not super straightforward and can be quite expensive, but is more flexible than stereo layers. Also I couldn’t use stereo layers because they are currently bugged for me and several other people.

I made a note on enabling mipmaps and filtering for UMG widgets here (also available as a plugin on github):

> **[Fixing aliasing / flickering widgets in UE4](https://hollowdilnik.com/2021/01/09/widget-filtering.html)**
>
> TL;DR: Enable bAutoGenerateMips for the RenderTarget of the UWidgetComponent and set its Filter to TF\_Trilinear. Call RenderTarget-\>UpdateResourceImmediate(false) after every update of the widget. In the widget material, change the Sampler Source...

---

_[View the full topic](https://forums.unrealengine.com/t/msaa-3d-widgets-horrible-jagged-edges/138040)._
