Hello! I'm making a 2D game and I want to simulate "shadow" of the sprites, I think I just use semi-transparent black-tinted sprite for that; but the "shadows" are not "blended" well (I'm not sure what's that called, please check my attached image). And after searching around, I found a solution that is using a "shader" and downloaded it (from a user on reddit), it works so far but the edges of the shadow is jagged, I would like to smooth out those edges but I'm not sure how to modify the shader. - on the left: not "blended" well shadows - on the right: this is what I need but I want the edges to be smoother can anyone help me with this? or point me to a direction to resolve this? (beware that I know nothing about shader ) I also attach the shader file I downloaded. Thank you for reading.