How to use HighlightLayer to display the edges of objects to the top layer

three.js examples (threejs.org)
You may want to consider porting ThreeJS’s outline
Tips on how to create something like three postprocessing_outline in babylon js - Questions - Babylon.js
This is the relevant literature I found on the babylon forum