Why this bad color gradient with textures in iphone?

hi there!

is there a way to get rid of this crappy 8bit looking oldschool color gradient I get when exporting image textures (with in photoshop smooth looking color gradients) to iPhone?


It's not 8bit, it's 16-bit. :-P

If you're using 16-bit for textures where banding is an issue, don't.

Otherwise, in Appcontroller.mm, search for kEAGLColorFormatRGB565 and change it to kEAGLColorFormatRGBA8. Same thing for GL_RGBA8_OES to GL_RGB565_OES. At least, I think you need to do both. I'll edit this post if you only need to change one of those.

In the import settings, change the Format to "16 bits". If that still doesn't look good for you, change it to "Truecolor".