I’m trying to find a way of marking an object as selected. The best way I see is to 'outline" it, in the same way that unity editor does.
So , I’ve looked for outline and found the outline/silhouetted shader in unity wiki.
It does not work, I tried several variants, some of them removing the error in the script, but in fact it did nothing to my object.
I am creating a shader and pasting the shader code to it and then saving again, creating a new material and assign this material to a sphere. I did it from a new scene even from a new project, nothing happens.
When i say nothing happens, I said there’s no outline. The color of the object changes, when I change the shader colors, but no outline.
I tried this : ‘Nihilist Dev: Outline in Unity with mesh transparency.’
it does not work.
I tried this ‘[FREE] [OPEN-SOURCE] Outline Effect - Community Showcases - Unity Discussions’
And even the example scene does not work.
this is the original image:

below is the same scene running in unity:
Maybe there must be something that has been altered in the new version of unity?
Thanks for helping!
Paulo


