Procedural mesh makes each triangle have its own material

Title. How do i make my procedural meshes only have 1 material so my draw calls dont spike to over 20,000?

How are you creating the procedural mesh? Is it just one section or a section for a single triangle?

Section per tri for convience

That’s why, every section has its material. Even if the material is the same, I’m not sure Unreal is smart enough to merge all in one draw call. But apparently, it seems not.

If all your sections share the same material, I’d suggest to create one big section for entire mesh.

Good to know.