Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have a cube map texture which defines a surrounding, however I need to pass it to a program which only works with latitude/longitude maps. I am really at lost here on how to do the translation. Any help here?

In other words, I need to come from here:

enter image description here

To this (I think that image has an aditional -90° rotation over the x axis):

enter image description here

share|improve this question
You're saying you want to transform a cube map texture to fit on the inside of a sphere instead of the inside of a cube? –  Byte56 Jul 16 '12 at 13:24
yes, just how HDR shop does –  Sambatyon Jul 16 '12 at 13:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.