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"

Exposing material function parameters

​ The documentation I've been able to find isn't helping. I'm trying to nest different materials into a single material and use vertex colors to place several textures on geometry but I would like to instance the material that's calling the material functions and access the texture maps and other paramaterised variables in the material functions I'm calling

Currently I am choosing between instanced materials and layered materials in my level. One allows for a more artist friendly way of building materials.(at least one I conceptually understand) The other is efficient and inexpensive. I am figuring out how to do Instanced layered materials so I can have more artistic license while still doing the most inexpensive solution possible. The instant update of instanced materials in the viewer is also nice and I'm wondering if this can be achieved with access to the paramaterised variables in the material functions I'm calling

This was in unreal documentation. So I think its possible. "Material Instance parameters are now supported in functions. This makes it really easy to expose parameters to material instances. This brings functions to feature parity with materials, the same node graphs can be used in either. The only exceptions are the function input and output nodes which are inherently function-only"

How do I accomplish this?

Product Version: UE 4.15
more ▼

asked May 05 '17 at 06:15 PM in Using UE4

avatar image

8 2 3 4

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

1 answer: sort voted first

Solved. I had to complete the network in the material I was instancing and save my materials. I placed the function call node and wired it to a break material attributes node and wired that to my material node.Saved the parent material and then the instanced material has the drop down options in the parameter groups section.

more ▼

answered May 05 '17 at 06:26 PM

avatar image

8 2 3 4

avatar image silmi Oct 04 '17 at 07:57 AM

i was struggling with the same issue. try to follow your instruction apparently did not work. seem cant find how you connect it back to the material node. is it ok if u share the network u created?

thank you

avatar image psloand Oct 07 '17 at 10:33 PM

It has been so long, I'm not sure where this particular node network was. But I do remember It was a simple fix. If you would like, you can send pictures of your network and explain the problem you are having and then I can try and help you.

(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