My goal is outline model and I got some questions and problems.
First of all, I don’t understand why my model gets different outline size with the same shader:
Left model from original project and right one is mine.
So… I looked into Editor’s code and found solution inside.
I implemented it as script component and it works nice.
But… I’m not sure it’s legal to reverse engine and public parts of code from Editor…
Obviously, I made some changes, but code is still dirty as my English.
So, anyway, here it is. If admins find it’s not allowed, just delete my post please.
I’m glad you’ve managed to find the implementation inside editor’s code. We do not minify it, as I personally find it is useful to debug and sometimes users can check internals of it for the good.
If you make simple project showcasing this component as well, will be cool.