Gemetry batching? Could anyone help here?

Hi,

Using unity iphone version 1.0.2 and 1.0.3 in my tiled 3d game (map is composed of 3d tiles) I decided to make tiles bigger to avoid lota drawcalls. Now, that batching is added to unity iphone, is there anyway to force unity to draw all tiles sharing same material with one draw call?.

Thanks in advance,
HexDump.

If you use Unity 1.5+ (it does not exist on 1.0.x), it will happen automatically if the object has less then 300 vertices and if they use the exactly same material

Thanks for the answer dreamora.

Do you mean the final object that is created from the tiles must have less than 300?. For example if I have 6 objects and and 3 have less than 300 and the other 3 less than 300 will it just draw all 6 in 2 drawcalls?.

Thanks in advance.

no the different objects need to have less than 300 :slight_smile:
the batching, when I remember right, is opted to batch up to 4000 vertices per drawcall (thats where the overhead of batching becomes larger than the benefit)

Thanks dreamora you have been of much help!

HeXdump.