Welcome aboard!
You could reuse the PG from:
and make the outline always visible by setting the depth function to “always”:
In the PG above, I used the node material from Fresnel effect to the model - #17 by PatrickRyan for the outline effect.
The disadvantage of this technique is that you have to clone the meshes in order to draw them a second time, using the outline shader.
However, I’ll show a way of doing this without cloning meshes once a PR in progress is merged into the repo.
4 Likes