Question about Batching

According to the tutorial, below is the rules for Batch.

  • Have the same Batch Group ID
  • Have the same material
  • Have the same shader parameters
  • Be within a bounding box with no side larger than the Max AABB Size
  • Be in the same layer
  • Each batch has a maximum vertex count of 65535
  • For dynamic batches there is a maximum number of movable mesh instances. This hardware dependent but has a maximum of 1024.

I just wonder if mesh objects with different shape can be grouped as the same batch group.

Hi @sooyong_Kim,

My understanding is that all meshes that follow the same above rule will be batched in a single batch.

1 Like

Hardware instancing requires the mesh to be the same for all instances.
But batching, both static and dynamic, does not have this limitation.