Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm thinking about texture atlas generation where I'd have to choose the dimensions of my atlas, constrained both by my sprites and by the maximum texture size of the current platform.

Given that, is there any drawback to using a rectangular texture over a square texture, assuming the dimensions are still a power of two? For example, is there a difference between using a 64x256 texture and using a 128x128 texture?

share|improve this question
Related question:… – Dan Jan 13 '13 at 17:12
For what it's worth I don't think the above-linked related question is actually a duplicate (there's a close vote against this question for exactly that reason); the related question asks why powers of two are used, this question asks for a drawback to non-square textures, and I don't think the answers to those questions would be the same. – Josh Petrie Jan 14 '13 at 21:20
up vote 4 down vote accepted

Short answer: no, there's no drawback.

In early 3d hardware there used to be some aspect ratio limitations, where you could do 32x256 or 256x32 textures, but not, for example, 256x4. I have no idea why this limitation existed (probably to simplify interpolators or some such), but current 3d hardware has no such limitation.

Do note that small levels of mipmaps may act slightly differently in non-square textures (as an example, 64x8 - 32x4 - 16x2 - 8x1 - 4x1 - 2x1 - 1x1, I believe).

share|improve this answer
I'm not saying I don't believe you, but some documentation from the major vendors with that detail in it would be useful. – Tetrad Jan 14 '13 at 22:07
To think of the most extreme example, a 8192x32 texture wouldn't be significantly worse than a more square-shaped texture? Since I'm relating this to texture atlases, that case would be if I decided to be lazy and just arrange all my sprites in one long row. – Aaron Jan 14 '13 at 22:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.