# How would I set my post process material in UI widgets with no post process effect lost

**URL:** <https://forums.unrealengine.com/t/how-would-i-set-my-post-process-material-in-ui-widgets-with-no-post-process-effect-lost/453503>\
**Category:** UI\
**Tags:** Post-Processing, unreal-engine, UI, question\
**Created:** [August 7, 2019, 11:18am UTC](https://forums.unrealengine.com/t/how-would-i-set-my-post-process-material-in-ui-widgets-with-no-post-process-effect-lost/453503 "2019-08-07T11:18:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![poojanik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@poojanik](https://forums.unrealengine.com/u/poojanik)\
**Post date:** [August 7, 2019, 11:18am UTC](https://forums.unrealengine.com/t/how-would-i-set-my-post-process-material-in-ui-widgets-with-no-post-process-effect-lost/453503/1 "2019-08-07T11:18:43Z")

</div>

I want to see custom stencil (RGB) colors in game play mode. For this need to set the post process material in UI sub-window. But when I try to set in UI, it always ask me to change the post process material domain to UI doamin. after doing that I lost my post process effect.

---

<div class="post-metadata">

**Author:** ![S-ed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-ed/32/1194558_2.png) [@S-ed](https://forums.unrealengine.com/u/S-ed)\
**Post date:** [August 7, 2019, 11:36am UTC](https://forums.unrealengine.com/t/how-would-i-set-my-post-process-material-in-ui-widgets-with-no-post-process-effect-lost/453503/2 "2019-08-07T11:36:35Z")

</div>

You only can apply PP\* effect to a **Retainer Box** widget. Keep in mind it’s a render target widget, so it puts an additional strain to a render queue.

\*It is still has to be an UI domain material

PP main purpose is to be used with PP volume or Camera. To use actual PP materials with the UMG you have to convert your widgets to a 3d ones.

---

<div class="post-metadata">

**Author:** ![poojanik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@poojanik](https://forums.unrealengine.com/u/poojanik)\
**Post date:** [August 8, 2019, 3:08pm UTC](https://forums.unrealengine.com/t/how-would-i-set-my-post-process-material-in-ui-widgets-with-no-post-process-effect-lost/453503/3 "2019-08-08T15:08:49Z")

</div>

@Newest,Thanks for the solution. I formed the retainer box to the images which are into UI domain. After I tried to add post process material under effect material under retainer box. but I still not able to see post process material effect on my images. Can you please tell me any other settings need to be done here?

---

<div class="post-metadata">

**Author:** ![S-ed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-ed/32/1194558_2.png) [@S-ed](https://forums.unrealengine.com/u/S-ed)\
**Post date:** [August 17, 2019, 10:04am UTC](https://forums.unrealengine.com/t/how-would-i-set-my-post-process-material-in-ui-widgets-with-no-post-process-effect-lost/453503/4 "2019-08-17T10:04:28Z")

</div>

Make sure your widgets are children of the Retainer Box.
