Shaders are my least understood part of unity so far and I’m stumped. I want this sprite to be able to both cast and receive shadows and I found a shader that lets me cast shadows fine but the casting and receiving one makes it so any transparent part of the sprite is just an non transparent block. Is it possible to have something take on a shadow but still let parts of it be transparent?
This is the shader in question
Shaded with no transparency (the outline is supposed to be transparent