2D Lit Sprite shader for 2.5D art style using an orthographic camera ๐ค
An implementation of this shader is used in Night Loops (Wishlist if you'd like to support, thank you!)
The shader prevents 2D Sprites from clipping horribly into the 3D environment when using a skewed orthographic camera. This is useful for setups where 2D sprites must be rotated towards the camera in a 3D environment to achieve a 2.5D look and feel. Also gives 2D Sprites a Lit Behavior when using Unity's Universal RP 3D settings.
"Feels good to not have my head inside these cabinets all day."
For older versions see branches (e.g. 2019.3)
Cast Shadows = On
and Receive Shadows = True
(which are available in Debug mode only)