Loading cyinderical bitmap into cubemaps.

Hello folks,

I only have cylindrical bitmap files like Blue Marble files and am trying to figure how to load them into cubemap buffers. I searched for it through the Internet but can’t find any sources.

Does anyone know any way to load and convert cylinderical bitmaps into cubemap buffers by using OpenGL functions, etc?

Thanks,
Sword7

If you’re using shaders, then simply write your own sampling function.