|
I've seen here that batching doesn't always happen. However, I don't think it is tied to alpha blending, as given by evidence here. Is it simply a matter of not using the Geometry queue, or what? Edit: It's not that, according to the numbers on-screen. I'm clueless, and I haven't witnessed the problem yet myself, but I certainly want to take precautions to avoid it.
(comments are locked)
|
|
I explained some of the batching details in my iPhone Optimization talk at Unite 2009. You can watch video here: http://unity3d.com/support/resources/unite-presentations/optimizing-for-unity-iphone-1.5 I believe from watching the numbers myself over the past few months, and listening to what you said, that it has to do with inserting transparent objects with one material in between transparent objects with another material. Using the same material on as many objects as possible seems to really help out here (they're primarily flat quads).
May 25 '10 at 01:12 PM
Jessy
(comments are locked)
|
|
Lights seem to ruin batching, even if the gameobjects use a material that doesn't use lighting. One light is ok, but if you have two or more the amount of batching is reduced fast. Luckily lights that are completely out of range don't matter. To have some useless stats: Test scene with floor plane and 35 equal prefabs, (about half of them visible):
(comments are locked)
|
