How is the effect of white outline achieved?

I am very curious about how to achieve the effect of white outline when an object is selected in the editor?

this way
https://playcanvas.github.io/#/graphics/model-outline