Hey! I have found a workaround in the end, thanks
Turns out the LightFunction projection is already using a spherical map out of the box, so nothing was required shader-wise, I just had to find the correct coordinate when baking a shadow and that was it!