I think the default selection effect in unity editor is better than other outlined silhouette shaders. Can I implement this effect in runtime? Thanks!

I think the default selection effect in unity editor is better than other outlined silhouette shaders. Can I implement this effect in runtime? Thanks!

Unity didn’t provided any new shaders with outline but have completly changed the Edge Detection post-process effect.
Import the Effects package and try the Edge Detection post-process.
Can I use this image effect on a single mesh? Thanks!
I guess the good way is to have a layer parameter on the post-process which apply only on objects in the layers…
I don’t have time to check for you right now.
A dirty way to do this without any coding is to have a second camera with the post process and layering the rendering directly into the cameras.
If you are using custom shaders, you can add pass with small offset.