# Mask Post Process

**URL:** <https://forums.unrealengine.com/t/mask-post-process/48104>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [November 21, 2015, 5:59pm UTC](https://forums.unrealengine.com/t/mask-post-process/48104 "2015-11-21T17:59:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueSpud](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueSpud](https://forums.unrealengine.com/u/BlueSpud)\
**Post date:** [November 21, 2015, 5:59pm UTC](https://forums.unrealengine.com/t/mask-post-process/48104/1 "2015-11-21T17:59:37Z")

</div>

Hey,  
I was able to make a full screen blur with the depth of field post process which I want to use for both my pause menus and my in game HUD. The issue is that when I want to use it for my in game UI it needs to only be rendered under the HUD and not the entire screen. Is there any way the I can mask the post process to a UMG widget for simplicity?

The other solution that I thought of was to create a material and mask it off in the material. The problem is that PostProcessInput0 already has the blur applied and I can’t use the SceneColor any more, so I don’t have a way to get the original texture without the blur. Is there any way to do this?

Cheers.

---

<div class="post-metadata">

**Author:** ![BlueSpud](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueSpud](https://forums.unrealengine.com/u/BlueSpud)\
**Post date:** [December 13, 2015, 2:45am UTC](https://forums.unrealengine.com/t/mask-post-process/48104/2 "2015-12-13T02:45:52Z")

</div>

Does anyone know? Kinda stuck here.

---

<div class="post-metadata">

**Author:** ![Achilleon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Achilleon](https://forums.unrealengine.com/u/Achilleon)\
**Post date:** [December 13, 2015, 9:13am UTC](https://forums.unrealengine.com/t/mask-post-process/48104/3 "2015-12-13T09:13:09Z")

</div>

> [@BlueSpud;436474](#):
>
> Does anyone know? Kinda stuck here.

Have you tried using Custom Depth? I don’t know if it would work though.

Your best bet is creating a blue inside a material via nodes, like mimicing the depth field.

---

<div class="post-metadata">

**Author:** ![BlueSpud](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueSpud](https://forums.unrealengine.com/u/BlueSpud)\
**Post date:** [December 13, 2015, 5:40pm UTC](https://forums.unrealengine.com/t/mask-post-process/48104/4 "2015-12-13T17:40:08Z")

</div>

> [@Achilleon;436561](#):
>
> Have you tried using Custom Depth? I don’t know if it would work though.
> 
> Your best bet is creating a blue inside a material via nodes, like mimicing the depth field.

I have looked into it, but I’m using the Depth of Field Post Process, so when I get to the bendable, I don’t have the information for the regular scene anymore. I think my best bet would to render the Blur to another render target and sample from it and the unblured scene in another pass and then combining them that way.
