Hi guys, I have a day night cycle with a moving sun and I want to cast shadows from sprites like the attached image. The ground, which can receive shadows, is also a sprite. I was thinking that a way to do this would be to use a shader for the sprites with two passes, the first pass to draw the object normally and the second pass would move the vertices and draw the shadow with transparent gray. Is this a possible way? I can get the pixel shader to output a gray color but I am also not sure of the vertex shader code required to do this.