Material for Orange Outlines on Selected Actor

That’s a nice blog post but you really don’t need to use the sobel operator for some plain edge detection.

Here’s a simple material which should do the job:

The threshold parameter defines the distance in world space up to which geometry shares the same outline. Note how in example both spheres have a single outline whilst the bush in the background gets separated due to the distance exceeding the threshold: