- Home /
Need theory advice on dynamic batching versus combining meshes.
I know dynamic batching groups objects together if they share the same material and are not moving around (such as prop objects). ALL my objects (including enemies and player) share one 2048x2048 texture that has an alpha channel (made a 2D - so I used the plane with alpha texture method). However I have sometimes 70+ objects (planes) on screen at once. I thought maybe the dynamic batching would help (and it has) but I'm not sure if I should leave everything up to the dynamic batching or if there is a way to work faster on mobile platforms. Should I implement static batching? Sometimes it makes the draw calls go up. Also, which texture should I be using? Currently I'm running the Mobile > Transparency > Vertex Lit but I just need some feedback on this topic.
One last thing to consider - Some of my objects are grouped together to form on bigger object - ex: I have repeatable bricks that I prefab together to make a platform in the game and there are foreground and background items that are layered by distance in which the main character moves between (simulating depth).