Sign in to follow this  

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

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

This topic is 3775 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this