Hi,
I was unsure whether this should go in the beginning or advanced question forum…
I’m trying to optimize some code that uses a lot of textures at high resolution ( > 512x512).
I have read through the blue and red books 1.1 and saw that there isn’t much flexibility in setting the internal format when using gluBuild2DMipmaps.
Is there anyway to set the internal format similarly to the glTexImage2D function. I want to set the internal format to GL_RGB and GL_RGB5_A1 to save space.
I know one solution is to biuld my on mipmap creation function using the gluScaleImage and glTexImage2D myself, but figured the gluBuild2DMipMaps might be able to do the same thing.
Also should I expect much of a savings using this. Are these internal formats (RGB5 and RGB5_A1 ) typically supported? Do the affect performance negatively in other ways?
Thanks for your help
My question is this, can I use formats specified as valid for glTexImage2D internal list or am I limited to the smaller subset listed in the format list