Accoding to the documentation about “Batching”, there are ruls for it.
- 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.
Among those condition, there are two conditions I want to know in detail.
“Have the same shader parameters”
What does it mean?
Is it related to the runtime lightmap? or there is something else ?
Does mesh shape matter?
What if a mirrored mesh(entity)? can a mirrored (entity) be a member of a batch group?
What does it mean by “no side larger than the Max AABB”
How can I check if a participant of a batch group exceed the border of max aabb?