It’s just my idea (I never try it) to use 2D picture of the shadow (your projection on the bottom plane) like a texture. You must set texture coordinates (if your bottom plane is in XY you must set XY as texture coordinates) on any triangle on the ground (if you use triangles) and then you will have a shadow.