Jump to content
  • Advertisement
Sign in to follow this  
sofakng

Do textures and surfaces need to be a power of two?

This topic is 3988 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

Do textures and surfaces need to be a power of two? (eg. 2, 4, 8, 64, 128, 256, 512, 1024, ...) Suprisingly, I can't seem to find this answer on Google...

Share this post


Link to post
Share on other sites
Advertisement
What is the "generic" (eg. safe) way of doing this? Should I just always use power of two for texture sizes?

What about surfaces? Are they hardware dependant too or can I freely use any size I want?

Share this post


Link to post
Share on other sites
NPOT texture support is fairly common nowadays, but it can't hurt to check the caps to be sure. If you don't want to bother, simply make sure all your textures are powers of two and everything should work out fine.

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!