Using an Overlay material to create an outline:

  • While simple to do, this has a big downside in that the result depends entirely on the type of mesh you use it with. Cubes or other shapes with sharp eges work extremely poorly with this.
  • https://www.youtube.com/watch?v=33_PiRmOe_Q

Using a Post Process material for outlines: