# How many materials on the mesh maximum? - performance

**URL:** <https://forums.unrealengine.com/t/how-many-materials-on-the-mesh-maximum-performance/369201>\
**Category:** Rendering\
**Tags:** unreal-engine, Performance, question\
**Created:** [September 3, 2016, 8:17am UTC](https://forums.unrealengine.com/t/how-many-materials-on-the-mesh-maximum-performance/369201 "2016-09-03T08:17:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dj\_EKI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dj\_EKI](https://forums.unrealengine.com/u/Dj_EKI)\
**Post date:** [September 3, 2016, 8:17am UTC](https://forums.unrealengine.com/t/how-many-materials-on-the-mesh-maximum-performance/369201/1 "2016-09-03T08:17:13Z")

</div>

Hi, I have spread on a mesh about 10 different material. Substance Painter 2 has created for each a Texture. Ranging in size from 256 to 2K. For thus fits in more detail and it is easier to paint with SP2. Should I prefer to use a Color ID?  
I want to know how it affects the performance.

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [September 3, 2016, 9:46am UTC](https://forums.unrealengine.com/t/how-many-materials-on-the-mesh-maximum-performance/369201/2 "2016-09-03T09:46:41Z")

</div>

One mesh with one material = one drawcall.  
A drawcall is the mesh being rendered once.  
One mesh with two materials = Two drawcalls.  
This means the mesh will be drawn two times.  
A mesh with 10 different materials will be 10 drawcalls.

not to mention that all the materials will be varied in calculations, texture sizes, etc, etc.  
Now if the mesh is a main character, a high end car, or anything else thats only shown once or twice in view then its fine…

But if you have a tree with ten drawcalls will mean that 100 tree’s will have 1000 drawcalls.  
I suggest to try and merge as much of your textures together and reduce drawcalls as much as possible.
