Combine meshes manually
Merge multiple meshes into a single mesh that Unity can render in a single draw call.
읽는 시간 1분최근 업데이트: 한 달 전
You can manually combine multiple meshes into a single mesh as a draw call optimization technique. Unity renders the combined mesh in a single draw call instead of one draw call per mesh. This technique can be a good alternative to draw call batching in cases where the meshes are close together and don't move relative to one another. For example, for a static cupboard with lots of drawers, it makes sense to combine everything into a single mesh.
There are two main ways to combine meshes:
- In your asset generation tool while authoring the mesh.
- In Unity using Mesh.CombineMeshes.