# 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:** 8

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [March 14, 2022, 3:10pm UTC](https://forums.unrealengine.com/t/msaa-3d-widgets-horrible-jagged-edges/138040/8 "2022-03-14T15:10:48Z")

</div>

I don’t think there is any way to set everything up well without enabling mipmapping form C++. The modification to the class is very simple, it’s a shame Epic hasn’t implemented it yet.

The article mentions using [shader based supersampling](https://bgolus.medium.com/sharper-mipmapping-using-shader-based-supersampling-ed7aadb47bec), which can be done in Unreal through the material editor. I’ve implemented it and it is an significant improvement over regular mipmapped. I think it still needs mipmapping enabled to give any benefit though.

 ![bild](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/f/9af68c7b7b33aa778d802e5acbaa19d8d3916590.jpeg)  
200% zoom, stock on left, mipmapped on center and mipmapped + RGSS on right

 ![bild](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/8/62837b835c44983015967a5a5f1c2550fad5c487.png)

> **[Supersampled UI material posted by anonymous | blueprintUE | PasteBin For...](https://blueprintue.com/blueprint/73c3ar3f/)**
>
> No description provided

The link above lets you copy the code into a material blueprint.

---

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