Outlines with different colors

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! :slight_smile:

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.

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.