What is the difference between "material" and "interface material" ?...

Hi I was trying to follow the nice tutorial from Tefel and was found stuck when I could not connect two nodes like tefel did. They both are material related, but one seemed of “material” type not linkable with another of “material interface” type. I finally solved the problem but I should be interested in knowing more…

Could someone tell us what is the difference between “material” and “interface material” ?..

Do you mean Material Function or Blueprint Interface? Or Dynamic Material Instance in Blueprints?

I don’t know (I’m A beginner at using blueprints ) The tutorial consists in building a chessboard procedurally ; so it is a construction script.

When you place a select node and change the pin type to material related ones you have several types of material types (Material, Materialinstance, Materialinterface, etc…)

I hope this was more clear …

So I wonder what is material interface …

A lot of people don’t read the documentation because it’s “Sounds boring” or whatever, but it’s truly an invaluable place for knowledge on such topics:

Here’s two links to give you a hand: Create Dynamic Material Instance | Unreal Engine Documentation

and

https://docs.unrealengine.com/latest/INT/Search/index.html?q=interface+material&x=0&y=0

Hope they help!

  • Ryan

Thanks a lot … I must say I just started with UE4 and BP scripting and I’m not quite efficient at finding something into the huge doc.

I will search also in this way

Feel free to post any feedback you have regarding the usability of the documentation in this section of the forum if you are having any problems with the structure. And dont hesitate to ask for help here(AnswerHub) or appropriate sections of the forum as you work on your project.

Good luck!

Sorry for digging it back from '15 but I feel like the answer is not complete. There was a question about material interface and I also wasn’t sure which is which so I started to read source code. UMaterialInterface is base class for materials and material instances so if you want to be able set value of your variable to both (materials and instances) you have to use material interface type. Materials are the one created from a scratch with material editor. Material Instances are derived version of materials where you can only set some values that are exposed as parameters.
TLDR. If you want to be able to set and pin your material variables in as many combinations as possible just use material interface type.

15 Likes

THIS SHOULD BE THE ANSWER TO THE QUESTION. <3