# Can I have a post process affect multiple objects differently?

**URL:** <https://forums.unrealengine.com/t/can-i-have-a-post-process-affect-multiple-objects-differently/302311>\
**Category:** Rendering\
**Tags:** unreal-engine, Post-Process, question\
**Created:** [December 23, 2014, 3:13am UTC](https://forums.unrealengine.com/t/can-i-have-a-post-process-affect-multiple-objects-differently/302311 "2014-12-23T03:13:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Admiral\_Skye](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Admiral\_Skye](https://forums.unrealengine.com/u/Admiral_Skye)\
**Post date:** [December 23, 2014, 3:13am UTC](https://forums.unrealengine.com/t/can-i-have-a-post-process-affect-multiple-objects-differently/302311/1 "2014-12-23T03:13:21Z")

</div>

I’ve already set up my post process material to work with custom depth. Now I’m trying to find a way to make it give different results for different objects and actors. For example, with an outline post process, if I could assign the outline color and thickness individually.

Since I get most data as a texture float, I was thinking retrieving those parameters with a float4, with rgb being the color and alpha being the thickness. But I can’t find any way to send that information to a post process material without using up existing material attributes. Custom depth only allows for 2 layers(on.off). Maybe I’m just not looking hard enough, which is possible, but the only answer I find when looking to affecting multiple actors differently is how to turn it on or off with custom depth.

---

<div class="post-metadata">

**Author:** ![son1cman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@son1cman](https://forums.unrealengine.com/u/son1cman)\
**Post date:** [May 12, 2015, 2:30pm UTC](https://forums.unrealengine.com/t/can-i-have-a-post-process-affect-multiple-objects-differently/302311/2 "2015-05-12T14:30:11Z")

</div>

I need this 2

---

<div class="post-metadata">

**Author:** ![pmlvl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pmlvl](https://forums.unrealengine.com/u/pmlvl)\
**Post date:** [March 3, 2017, 4:20am UTC](https://forums.unrealengine.com/t/can-i-have-a-post-process-affect-multiple-objects-differently/302311/3 "2017-03-03T04:20:36Z")

</div>

I need this 3

---

<div class="post-metadata">

**Author:** ![Monster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Monster](https://forums.unrealengine.com/u/Monster)\
**Post date:** [March 3, 2017, 8:52am UTC](https://forums.unrealengine.com/t/can-i-have-a-post-process-affect-multiple-objects-differently/302311/4 "2017-03-03T08:52:19Z")

</div>

Maybe U should Use CustomDepth Stencil Value to do this.

---

<div class="post-metadata">

**Author:** ![Alexyz31](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alexyz31](https://forums.unrealengine.com/u/Alexyz31)\
**Post date:** [May 7, 2021, 10:18am UTC](https://forums.unrealengine.com/t/can-i-have-a-post-process-affect-multiple-objects-differently/302311/5 "2021-05-07T10:18:14Z")

</div>

I need this, too !

(and custom depth stencil doesn’t fit my needs. My objects are flat planes, that aren’t “seen” by the custom depth stencil and they are also at different places within the scene)
