# How can I smooth my mask edges?  Thanks.

**URL:** <https://forums.unrealengine.com/t/how-can-i-smooth-my-mask-edges-thanks/421225>\
**Category:** Rendering\
**Tags:** edges, smooth, opacity, unreal-engine, mask, question\
**Created:** [March 29, 2018, 2:31pm UTC](https://forums.unrealengine.com/t/how-can-i-smooth-my-mask-edges-thanks/421225 "2018-03-29T14:31:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dharkynd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dharkynd](https://forums.unrealengine.com/u/Dharkynd)\
**Post date:** [March 29, 2018, 2:31pm UTC](https://forums.unrealengine.com/t/how-can-i-smooth-my-mask-edges-thanks/421225/1 "2018-03-29T14:31:57Z")

</div>

![235495-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/4/0e4acdd732e2639c8ac76e2ef880290acd1a8693.jpeg)

---

<div class="post-metadata">

**Author:** ![IndieGameCove](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IndieGameCove](https://forums.unrealengine.com/u/IndieGameCove)\
**Post date:** [June 4, 2018, 7:45am UTC](https://forums.unrealengine.com/t/how-can-i-smooth-my-mask-edges-thanks/421225/2 "2018-06-04T07:45:12Z")

</div>

you could try adding a dithertemporalAA node between the alpha and opacity mask.

the opacity mask takes in a 0 or 1 value. you will need to switch from masked to translucent material and use opacity input to get a gradient.

---

<div class="post-metadata">

**Author:** ![jimmyswang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimmyswang](https://forums.unrealengine.com/u/jimmyswang)\
**Post date:** [November 30, 2020, 7:08am UTC](https://forums.unrealengine.com/t/how-can-i-smooth-my-mask-edges-thanks/421225/3 "2020-11-30T07:08:21Z")

</div>

thanks a lot, this helps
