View Full Version : Rectangle Textures MINIMUM size?
01-12-2009, 04:51 AM
Do rectangle textures (specifically ARB_texture_rectangle and EXT_texture_rectangle) have a minimum size limit?
I know the minimum POT size is 64, but have been unable to discover if there is a minimum limit for the rectangle extensions.
01-12-2009, 05:20 AM
Minimum size of a texture (any texture) is 1x1. Where did you get 64 for POT from?
01-12-2009, 05:40 AM
Got 64 from the GL Red Book. You reckon I should be able to define a base (zero) level 32 x 16 texture, for instance, that isn't a mipmap level, then?
I could have sworn that the Red Book said that the texture dimensions were >required< to be "at least 64", whereas the opengl specs site (specifically http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/teximage2d.html ) certainly says something a little different.
It's not that I'm having trouble with small dimensions for rectangle textures, I just want to know if I can reasonably expect that to be the case on other systems, too...
01-12-2009, 05:52 AM
I think 64 is the minimum value for MAX_TEXTURE_SIZE.
It's a minmax sort of thing...
01-12-2009, 06:36 AM
I think some testing with POT textures is in order, then. It certainly sounds like small dimensions shouldn't be a problem for rectangle textures, if they aren't for POT textures...
Thanks for the replies, folks.
01-13-2009, 12:59 AM
Yeah, did the Red Book a dis-service, there - it says the same thing as the online spec.
01-13-2009, 02:42 AM
The GL3 spec ups the minmax to 1024 - same low price.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.