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. 

How to create a MID(material instance dynamic) in blueprint

How can you create a MID node in blueprints or what would it require you to do. I have read the tutorials on them and tried that out but they still do not show up in blueprints. What kind of blueprint must i be in (level or something else) to be able to create the MID?

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 05:31 AM in Everything Else

avatar image

ue4-archive ♦♦ STAFF
49.9k 3665 1991 9118

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

1 answer: sort voted first

What part of this process is not working for you?

I can create Mat inst dynamic just fine via BP

you just have to plug in what your parent material is and then use Set Material on something and use your mat instance

you should probably have a variable in your BP to store a reference to your material instance for future changing of its properties.


If my response gets you going please checkmark this post


alt text

alt text

matinstdyn2.jpg (108.2 kB)
matinstdyn.jpg (88.2 kB)
more ▼

answered Mar 11 '14 at 05:32 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3665 1991 9118

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 05:32 AM

I was looking at this page https://rocket.unrealengine.com/docs/ue4/INT/Engine/Subsystems/Rendering/MaterialsAndTextures/Materials/MaterialInstances/index.html#MaterialInstanceDynamic

and i was trying to change the parameters the way the blueprint example had halfway down the page. I tried making your network but i was unable to get it to work. How would i be able to get the MID node like that. Also what blueprint do i need to be in to get that to show up do i need to be in the level ,character blueprint, or a custom blueprint to get it to work?

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 05:32 AM

" How would i be able to get the MID node like that"

I created the pictures above from my Character blueprint.

but if you turn off that context sensitive button, you should be able to create an MID just about anywhere

Graph not Constructor

Are you sure you are in your BP graph for any given blueprint, not the constructor?

You dont want to try and make MID's in a constructor (in my opinion) :)

My reasoning is that you can never be sure what exists during the object's construction time other than it's own member variables, so you cannot check anything related to a larger world context during construction time securely.

Rama

(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