right this is much harder than I thought, I can't seem to find any docs on the maths behind this. Bit of a pain in the arse. You should be able to use the highend 3d ones though: