i have a standard 60fps on my iphone 4 when rendering a scene. i then draw 2 textures in onGUI like this:
void OnGUI()
{
GUI.DrawTexture(new Rect(0,0,Screen.width,Screen.height),textureBack);
GUI.DrawTexture(new Rect(0,0,Screen.width,Screen.height),textureFront);
}
and the FPS drops to ~30fps. The front image needs to have alpha so i set it to be overriden to RGBA 2bits, this image apparently has now 3 mb, the back image is 1.5mb, both have a resolution of 1024x768.
Is there a way to better handle this problem? i want the images to take max 10fps because… 30fps is absurde!