Material for Orange Outlines on Selected Actor

Hi there,

I would love to use that material in 4.9+. I had to make some small modifications to compile it:

://i.imgur/l8fbzXR.png

(Here’s the code for copy&pasting: ://pastebin/EqN3j3zb)

(SceneTexture:SceneColor now has to be SceneTexture:PostProcessInput0 and I had to mask out alpha before the lerp-node at the end).

Unfortunately it just renders the whole screen with the outline color now:

Did I make any mistake? I just added an unbounded post-processing volume, added material as a blendable and activated ‘render custom depth’ for a mesh in the scene…