dletozeun
02-10-2008, 07:10 AM
Hello,
Reading documentation about fbo, I have seen that we have to use the glGenerateMipmapEXT function in order to generate texture mipmap when it is rendered to with fbo.
My question is:
Is it possible to use glGenerateMipmapEXT instead of gluBuild2DMipmaps without fbo. I mean, for example can I do this with a texture created from a picture that I load from the hard drive and then, always use the glTexImage2D function (followed by glGenerateMipmapEXT when I need mipmap) ?
Thank you.
Reading documentation about fbo, I have seen that we have to use the glGenerateMipmapEXT function in order to generate texture mipmap when it is rendered to with fbo.
My question is:
Is it possible to use glGenerateMipmapEXT instead of gluBuild2DMipmaps without fbo. I mean, for example can I do this with a texture created from a picture that I load from the hard drive and then, always use the glTexImage2D function (followed by glGenerateMipmapEXT when I need mipmap) ?
Thank you.