FBO and Mipmaps


So, I’m trying to get mipmapping and FBOs working. What I’d like to do is to render to the texture and have all the successive mipmap levels update automatically.

I don’t know if that’s possible. If it is, how?


Call glGenerateMipmap after rendering to FBO.