Announcement

Collapse
No announcement yet.

Question regarding drawcalls

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Question regarding drawcalls

    Hi. Hope you are all doing fine.
    1- Suppose if we have a cube made from CSG Brush and we apply same materials to all of its sides, how many draw calls would it take ?
    2- if a different material is applied to each of the 6 sides of that CSG Brush cube, how many draw calls would that require to render?
    3- If we have a cube imported from some other software as a static mesh, and that cube has 6 material ids, 1 for each side and we apply different material to each id. How many draw calls would it take to render?
    4- If the same static mesh cube with 6 different material ids is given only 1 material to each id(same material on each side), then how many draw calls would it take to render?

    #2
    A mesh with 6 materials will cause 6 times more draw calls than a mesh with just one material. Assumining that none of the surfaces with a different material is beeing occluded or culled.
    Keep in mind that the total drawcall count does also dependent on additional factors like shadow casting lights and post processing for example. Therefore a single mesh/material will usually need 2-3 drawcalls.

    You can check the draw calls with the console commands stat d3d9rhi or stat d3d11rhi.

    Comment


      #3
      does this command work while working with Mobile Editor?

      Comment

      Working...
      X