Sign in to follow this  
sofakng

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

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

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