different sized textures like 100x100 or 150x150 is it possable?

different sized textures like 100x100 or 150x150 is it possable?

Textures must be in the power of 2…

32 x 32, 64 x 32, 128 x 64, 256 x 256, etc

Originally posted by Josh Kasten:
different sized textures like 100x100 or 150x150 is it possable?

Originally posted by nexusone:
[b]Textures must be in the power of 2…

32 x 32, 64 x 32, 128 x 64, 256 x 256, etc

[/b]

Well, from what I know MIPMAP TEXTURES can be of every width and height. Am I wrong?

I do believe Mips can be any resolution.

Mipmapped textures follows the same rules, each side has to be 2^n in size… just that gluBuild2DMipmaps rescale the image for you to nearest n^2 size.

So now it is clear.

You can use NV_texture_rectangle to make textures like 35x49, but you cannot use mipmaps and you also lose some wrapping modes (basically, no WRAP is supported).

Bye