- Home /
Answer appears to be available through Unity forums. Will search
Perfomance disparity between 3G and iTouch (iPhone 4)
Finally getting close to finishing our iPhone game here, but am having a significant problem getting an acceptable frame rate on anything later than a 3G(S). Testing on the 3G gives us around 50 - 60 FPS, but we can only get about 9 - 20 on our iTouch (same specs as the iphone 4.)
Our initial impression is that it has to do with the shaders. Neither I nor the other guy making this game new about the alpha test-based shader performance issues and just slapped a Transparent / Cutout / Diffuse / Soft Egde Unlit on everything. (whoops.)
My question is why are we seeing such a big difference in performance between the two models? If anything, shouldn't the Touch perform better with its higher specs? Also, do you have any suggestions on what alternative, mobile-friendly shaders that we can use that support alpha? (Current research seems to indicate Transparent / Vertex Color.)
Thanks! :P
(Can provide more information if necessary.)
Answer by Jessy · Mar 05, 2012 at 06:27 AM
4x as many pixels, same GPU. Covered all over the forum since 2009. Not an issue with iPad2 or iPhone 4S.
In that case, do you have any suggestions (or a helpful link) on how to optimize for the iPhone 4? I mean, I imagine there are still a large number of people who haven't upgraded to the 4S.
Apologies if it seems like an easy question to some of you vets, but neither of us are programmers (designer / localization here) and this has been our first project with Unity and on the iPhone - heck, even my first project as a programmer so our background knowledge is a bit more limited.
Follow this Question
Related Questions
Applying a Color to a Texture's Alpha Channel 3 Answers
Multiply Shader with Alpha 0 Answers
Help with Shader (Depth rendering with alpha and intersection) 0 Answers
shader problem 0 Answers