mipmap genaration from several texture handles


i currently trying to build a complex postprocessing shader, where I render my mipmap levels to FBOs. From the FBOs I get the texture handles of my mipmap levels. But how do I put them together into one texture?

glTexImage2D just work with arrays of the images and genereating mipmaps automatic isn’t also what i’mm looking for.

Thanks in advance for suggestions

no automatic generation required. glTexImage2D has a parameter to assign the mipmap level starting with 0. giving it 1 will be the mipmap level over the 0 and so on. make sure you upload ALL required levels otherwise OpenGL behaves like 2d texturing is turned off.

thnx! I’ll try it out!