- Home /
Non Power of Two Images
I noticed that if I change my texture importer settings to "advanced" and then choose "none" for non power of two, my image size significantly decreases. What are the advantages of using power of two?
I should note that my game is top-down and 2d. So I was thinking using the GUI settings on the texture importer (no power of 2, no mip maps) Would be best. In the inspector it looks like this saved me a ton of memory, but when looking at the profiler I noticed my memory footprint is much larger. So does using power of 2 improve memory usage, or make it worse?
I just noticed that even though my texture is imported non-power of 2 (136x136 in my case, as indicated in the texture preview), it gets upsampled to power of 2 en route to the graphics card. I can tell, because when I set texture filtering to point-sampled and zoom in, I can count the pixels, and it's 256x256. I'm not sure if this is a Unity behaviour, or inside the graphics driver.
Answer by Mark 14 · Apr 01, 2011 at 07:00 PM
Power of 2 images are much easier for a graphics card to process, it's explained in the 3D platformer tutorial.
Your answer
Follow this Question
Related Questions
Chat Client in Unity 1 Answer
Better method for importing images for textures 1 Answer
WebGL + JSLIB Plugin, how to pass images from JQuery to c#? 0 Answers
8 bpp TIFF images are not supported ? 2 Answers
Save a downloaded image 1 Answer