Hi!
I'm working on an app for android and iOS. Memory and texture sizes are a problem -- whenever the app goes into the background, it has to restart, because Android kills the process (it takes up too much memory), so I'm looking at alternate ways of storing the textures in memory. I came upon an idea.
I'm working with an NGUI UITexture, for example, that is 1024 x 238. At RGB24, it's 1.7mb. If I switch the compression to Alpha 8, it shrinks down to 446kb. Huge drop! It's ok, too, because the texture is only white and alpha. So technically, no data has really been lost. However, The white that was in the image is now black -- and I can't seem to figure out a way to tint it (back to white), in NGUI. So, two questions:
1) How do you tint a UITexture that is in alpha 8 format? Is this possible?
2) Is this really going to save on the texture's size in memory, on a device? How would I check that? (Sorry, not NGUI question).
Cheers,
Simon