A 2D outline shader for SpriteRenderers in Unity, using Shader Graph and Universal RP.
This project features a 2D outline shader for SpriteRenderer components which 'duplicates' the sprite four times and offsets those duplicates along the cardinal directions. The duplicates are tinted according to a defined outline colour. An accompanying tutorial is available on danielilett.com.
This project was created using Unity 2019.3.0f6 and Universal Render Pipeline 7.1.8.
This project and the corresponding tutorial series were written by Daniel Ilett. Follow him on Twitter for more gamedev tutorials!
This project was released on April 27th 2020.