Sign in to follow this  
simja

mobile texture memory padding

Recommended Posts

simja    104

Hi

 

So modern mobile GPU's generally all support non power of 2 textures now. Which is wonderful but I can't find any information if they all still pad out the texture in memory. I.e. so even though i have a 64 x 60 texture it will still take up 64 x 64 in memory. 

 

I would presume it does for efficiency and I could carry out the appropriate tests to make sure but they would only be valid for the specific device I was testing on. Does anyone know where I could find such information or is it just one of those things that everyone presumes but is up to you to check on each device if you want to be sure.

 

Thanks

 

Simon

Share this post


Link to post
Share on other sites
frob    44908

NPOT support is both mixed and limited.

 

The OpenGL ES 2.0 standard specifically excludes a bunch of functionality and operations for NPOT textures. Some devices support them, most do not. If you want to make sure you get consistent functionality you will need to consistently use POT textures. Add the tiny bit of padding needed to keep them in power-of-two increments.

 

 

 

Also, 64x64 is a very small texture.  Your poor modelers must feel like pixel artists. sad.png

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