I have two meshes with the same materials and the same vertex and fragment constants. The vertex space is set to World.
Should they be batched in the same drawcall? It seems to me that two drawcalls are used.
Is there something I am missing?
Thanks!
EDIT: The mesh uses triangle strip as primitive type. Is this preventing batching? In any case, triangle strips could be batched using degenerate triangles.
Of course I could batch the strips myself in lua. But just to understand.
The meshes have the same vertex declaration, yes; position, normal and colors.
About buffers. I am not sure I understand what you mean. Each mesh has its own buffer (otherwise they are the same mesh in different positions). But also different mesh could be batched if they have the same vertex data and the same material. Or not?