Layered Material Parameters

How can I manipulate a vector parameter of a layered material in blueprint?
It seems the set parameter nodes doesn’t work for the layered materials.

It will work fine if you make the value a parameter in the material instance. You can then set it from BP with SetVectorParameterValue.

Did you ever manage to resolve this?

You can set it by [UMaterialInstanceDynamic::SetVectorParameterValueByInfo][1]. And how to set FMaterialParameterInfo is [here][2].

Here is a simple example.

1 Like

Setting parameters work fine, but how do you make this dynamic? I want to discover/handle multiple material layers by name or tag, is that possible?