Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

What's the draw call if I use material instances for a static mesh?

Hello everyone,

I just create a static mesh using BSP geometries and I assigned material instances for the surfaces. When I created a static mesh from the BSP, the mesh has 6 materials but all of them are material instances from the same base material. In this case, what's the draw call? Is it optimized or should I look for another solutions for the optimization such as creating model in a 3D program?

Product Version: UE 4.20
more ▼

asked Jan 23 '19 at 12:39 PM in Using UE4

avatar image

70 2 3 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

In the case of a BSP you will have the same amount of drawcalls if you have material instances for the faces since each face of the bsp has a drawcall. For instance a cube has 1 drawcall for each visible face while a mesh will have 1 drawcall for the mesh and 1 procedure call for each shader applied to it (2 drawcalls in total if you have 1 material instance for each face if each they are based on the same parent).

As a rule of thumb, use bsps only while prototyping/blocking your levels, but you are always better off with externally created static meshes (You can also generate a static mesh based on your bsp in the settings of the brush you are editing).

more ▼

answered Jan 23 '19 at 02:29 PM

avatar image

944 21 13 29

avatar image Core21. Jan 23 '19 at 03:29 PM

Thank you for the answer.

I created just basic shapes, so I thought of making those meshes using BSP instead of using any 3D programs; and I converted them into static meshes afterwards.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question