Skip to main content
gamedev.net
🔒 Locked

MipMap levels

Started by Bouga 1 reply 450+ views
Original Post
Bouga
Bouga
Hi, when creating mipmaps in OpenGL with gluBuild2DMipmaps, does OpenGL create mipmaps of the size the texture is and smaller, or does it create all levels of mipmaps - the smaller and the bigger ones?
"A screen buffer is worth a thousand char's" - me
Brother Bob
Brother Bob
You supply the base level, and gluBuild2DMipmaps builds all the missing mipmap levels needed to form a complete set of mipmaps. The base level is always the larges image of all levels, so the missing levels are always smaller (halved for each level all the way down to 1x1).
Bouga
Bouga
Thank you.
"A screen buffer is worth a thousand char's" - me

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.