there are a lot of tutorials and threads about creating outline materials
For specific meshes
and for whole scene