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"

Trying to create a material instance in Blueprints - but 'Create Dynamic Material Instance' has changed?

Hello, I am new to Unreal Blueprints and have been tripped up by stumbling across nodes that appear different compared to online tutorials. For instance, in tutorials I am following the 'Create Dynamic Material Instance' node has a 'Target' input, where you are able to 'apply' the new instanced material to a static mesh (the reason for this is so I can change a scaler parameter value). However, my node does not have this. The documentation matches my node and therefore shows this has been deprecated?

http://api.unrealengine.com/INT/BlueprintAPI/Rendering/Material/CreateDynamicMaterialInstance/index.html

I then tried to use a 'Set Material' node that I had seen in other tutorials; but this appears missing altogether in 4.19?

Any ideas on what the solution for this is? Any tips on dealing with Blueprint node changes like this? This seems quite frustrating to learn if fairly basic things like this have changed. I am also half expecting that I have massively overlooked something fairly basic here...

Thanks

Product Version: UE 4.19
Tags:
more ▼

asked Jul 09 '18 at 10:07 PM in Blueprint Scripting

avatar image

Mackinder
11 1 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

if youre not sure what name to type in, make sure your blueprint editor is in context mode on, drag a wire from the mesh component that has the material slots you want to affect, and type "dynamic" and one of the options in there will be the create dynamic material instance node.

more ▼

answered Jul 09 '18 at 10:54 PM

avatar image

mightyenigma
3.7k 17 18 14

avatar image Mackinder Jul 10 '18 at 09:53 PM

Ah, thank you! You made me double-check this and you're right, it was just a simple mistake of not using the context and wire drag. I think because you can create a node with the exact same name by just right-clicking and typing it in I didn't think to check this. Thank you very much.

(comments are locked)
10|2000 characters needed characters left
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