I have a (hopefully) final question:
For FBO I guess I should replace
gluBuild2DMipmaps( ) with
So far so good, but can I still use…
glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE);
…to auto generate the mipmaps if the base map is updated?
Or does this auto generation not work with FBO and I have
to call glGenerateMipmapEXT( ) manually on every base update?
P.S. I ask this because here they say:
“When GL_EXT_framebuffer_object is present, instead of using the GL_GENERATE_MIPMAP flag, you can use glGenerateMipmapEXT.”
I don’t really understand that because I would say
GL_GENERATE_MIPMAP is for auto generation while
glGenerateMipmapEXT is for manual mipmap generation.
So the “instead of using…” does not make sense?