x

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. 

Clear up how expensive material instances really are?

Hi, as the title says i was wondering if someone could clear up just how expensive material instances really are?

My general understanding was that a "Master" material would take up 1 draw call per how many times its used and material instances would be "combined" into a single draw call no matter how many were used in the world (like instanced static meshes).

When searching for how expensive Mat-Inst really were i read that if the Mat-Inst had unique parameter values then they would each use 1 draw call similar to regular "non-inst" materials, so now i'm confused and there is no documentation on material instance expense.

Any insight is appreciated.

Product Version: UE 4.14
Tags:
more ▼

asked Dec 19 '16 at 05:38 PM in Rendering

avatar image

AndrewM47
262 68 61 78

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

1 answer: sort voted first

there is quite some documentation available actually, and besides a simple google search, this answerhub is filled with identical questions, and identical answers.

any material and any instance on a mesh is one drawcall. so one mesh with three master materials is three drawcalls, one mesh with three instances is three drawcalls.

most of the information can be found here: https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/MaterialInstances/ and additionally: https://www.youtube.com/watch?v=edZo8PC5SYc&t=506s Though I am not gonna bother linking the basic google/answerhub questions besides the answer of this one: https://answers.unrealengine.com/questions/8294/materialinstace-vs-material-perfomance.html

also, importantly is, creating one master material for all your walls, would mean you only need to create that material once and then instance it for others. this saves you lots and lots of time over the course of your project. and that can be worth a lot of money. (since time = money)

more ▼

answered Dec 19 '16 at 06:12 PM

avatar image

Luos
9.2k 283 63 330

(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