# Blending custom depth layers in Post Processing

**URL:** <https://forums.unrealengine.com/t/blending-custom-depth-layers-in-post-processing/1233628>\
**Category:** Rendering\
**Tags:** Post-Processing, custom-depth, unreal-engine, Rendering, question\
**Created:** [July 19, 2023, 1:03pm UTC](https://forums.unrealengine.com/t/blending-custom-depth-layers-in-post-processing/1233628 "2023-07-19T13:03:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![massygourmand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@massygourmand](https://forums.unrealengine.com/u/massygourmand)\
**Post date:** [July 19, 2023, 1:03pm UTC](https://forums.unrealengine.com/t/blending-custom-depth-layers-in-post-processing/1233628/1 "2023-07-19T13:03:36Z")

</div>

Hey!  
So I am using the custom depth node in a post processing material. Working super nice for some effects but I am struggling to figure out how to get a soft fade between. If i use an If node then there is always a harsh line between the different depths, and I would love to find a way to have a smooth fade between! Below is a picture of the example with one part of the image desaturated and the rest normal. And then the node tree for my PP material!  
Any help would be greatly appreciated!  
Cheerio

 ![Screenshot 2023-07-19 120917](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/e/16ecd80604606a4d67ba978190ba280ddc9f07dc.png)  
 ![Screenshot 2023-07-19 120403](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/0/f50d3d529a93d144bb23721b3698f9576b33e117.png)
