Hi, looking for a solution to implement 2d sprite outline using shaders and a few old guides, legitimately some problems have arisen:
The project has an EmptyObject with sprite renderer, a shader material and the shader itself (I’m using URP → sprite unlit shader graph). In the shader editor I added 2 nodes, which I attach to the screenshots and save, then instead of the expected standard sprite rendering, it becomes clipped. I have not had this problem in other guides. What could be the problem? Wrong component settings? The settings of the URP itself? Or what?
A bit about the attached screenshots:
- Object before material with shader
- Object after the material with shader
- EmptyObject components
- Components from the sprite itself
- Shader editor
Thanks