How to render an outline around 3D objects?

I checked it a bit, trying to understand.
What I’m trying to do is highlighting only ‘selected objects’ not all objects in the scene. So, I thought playing with VisualInstance layers and camera culling mask layers to match these only for the ‘selected objects’ would make it work. But I couldn’t figure it out.
Do you have a way of doing this?