Hi, my game works better with opengel2.0 disabled, in the last versions of unity3d and xcode, can i build only for armv7 and write #define USE_OPENGLES20_IF_AVAILABLE 0 , or the game not go to work on iphone5 ? thanks
The only reason your game performs better under opengl 1.1 is because your shaders are horribly under-optimised. There’s a new asset coming soon called echologin CORE framework and this is designed so 2.0 will have the same speed as 1.1 - pretty much - so that’s really the only way people can move forward (optimising shaders or using faster shaders).
How many pixel lights also plays a part: in opengl 2.0, pixel lights work, in 1.1 they are vertex (same as setting pixel lights to 0 in options).
Im using the mobile/ with alpha that have unity, nothing maked from me.
is a 2d game.nothing of shadow or vertex, etc
any help, please? thanks
I ended up creating some GLSL shaders. Using them my performance returned to #define USE_OPENGLES20_IF_AVAILABLE 0 performance. Maybe even a bit more, but it is hard to be certain as I had already done some other optimisations.
This site was a good starting point. It contains several shaders you could use straight off, although I had slightly different needs, so created my own.
What’s this?
Also try setting Render Paths in player prefs, it can help out a little -