I have a cube map texture showing a surrounding area, which I want to pass to a program that only works with latitude/longitude maps.
How can I do this?
In other words, I need to turn this:
…into this (I think it's additionally rotated -90° over the x axis):