# Outlines with different colors

**URL:** <https://forums.unrealengine.com/t/outlines-with-different-colors/312552>\
**Category:** Rendering\
**Tags:** unreal-engine, Post-Process, Rendering, question\
**Created:** [March 25, 2015, 4:15pm UTC](https://forums.unrealengine.com/t/outlines-with-different-colors/312552 "2015-03-25T16:15:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ardworx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ardworx](https://forums.unrealengine.com/u/ardworx)\
**Post date:** [March 25, 2015, 4:15pm UTC](https://forums.unrealengine.com/t/outlines-with-different-colors/312552/1 "2015-03-25T16:15:50Z")

</div>

Hi all,  
I wonder if it is possible to render different colored outlines for different objects, like enemy red, friends green for example.

I stuck with postprocess material cause its always the same custom depth pass used to apply the postprocess material.  
What would be the best way to achieve this effect?  
Greets and thanks in advance! 🙂

---

<div class="post-metadata">

**Author:** ![Nonlin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nonlin](https://forums.unrealengine.com/u/Nonlin)\
**Post date:** [July 15, 2015, 6:38am UTC](https://forums.unrealengine.com/t/outlines-with-different-colors/312552/2 "2015-07-15T06:38:15Z")

</div>

As far as I know there isn’t a way yet.

Some kind people have made it possible but their branch hasn’t been merged yet.

> **[\[Odessey\] Creating my own G-Buffer in UE4](https://forums.unrealengine.com/showthread.php?27766-Odessey-Creating-my-own-G-Buffer-in-UE4)**
>
> Hello! You can find my fork at: https://github.com/Temaran/UnrealEngine.git on the CustomTagBuffer branch (4.3) and 4.4CustomTagBuffer (4.4) My next adventure in UE4 will be in the Rendering part of the code landscape. I’ve been fiddling...

[https://github.com/Temaran/UnrealEngine/tree/4.8CustomTagBuffer](https://github.com/Temaran/UnrealEngine/tree/4.8CustomTagBuffer)

If I find something else or if you do please let me know as I also need this.
