Jump to content
  • Advertisement
Sign in to follow this  
Endemoniada

Still Need Power of 2 Texture Sizes ?

This topic is 4821 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys, Do we still have to use texture sizes that are a power of 2 ? I haven't programmed in Direct3D for a while and was hoping that changed. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
ummm, how long has a while been because the only reason i know about using power of 2 is in a quake engine and thats just for smaller and easier use. But it doesn't need to be a power of 2, but im sure if it is, it is somewhat easier and faster to render.

Share this post


Link to post
Share on other sites
you can use non-power-of-2 textures but IIRC they will use up the same amount of memory as the next bigger power of 2 texture would. At least on most graphics cards I guess this is true, so it would be a waste of memory.

Share this post


Link to post
Share on other sites
Don't assume you can use non-power-of-2 textures. I reckon most cards nowadays can do but wouldn't it be nice if your game also worked on more exotic/older cards? Esp. with DirectX you shouldn't assume anything, check the caps and work off of them.

Just a little more work on your side and you increased your possible user base!

Share this post


Link to post
Share on other sites
Non power of 2 is also conditional. That means there are restrictions on the way you can use it - e.g. texture addressing modes. The SDK should give the information on this.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!