I have a problem with openGL on the iPhone, which I am sure should have a simple solution!
When I load a texture and show it, I get a lot of what, in my opinion, is called “Color Rendering”, as a result of which the colors, especially on the gradients, seem automatically “optimized”.
Just to demonstrate that it wasn’t something wrong with my own code, I downloaded the iPhone Crashlanding app and replaced the background image, and, as you can see in the image below (taken from the simulator), the exact same thing happens. The image on the left is the original PNG, and on the right is the game. It is almost as if the palette was reduced to 256-color.
Screen shot
I am sure that this is due to the format in which I save the image, although this happens not only with PNG, but it seems to happen regardless of which image format I chose.
My head! If you want to recreate this, just download the collision loading app and replace the background. Thanks so much for any help.
source
share