shader with viewport texture only work in editor
I am trying to reproduce the following tutorial to get a silouhette on my players whe they go behind things :
It works great in the editor but not in runtime, i join you a video so you can see by yourself what i mean :
I was thiking maybe the viewport doesnt pass the texture well but i think it does since the outline of the animation shape is correct.
So i have no clue
If you have any leads, that would be amazing.