Laying the ground for a 3D game that uses 2D sprites with shadows