How to make 2D objects/sprites react to lighting and cast shadows in a 3D world?

I think that might be your solution.