How to change material parameter in level blueprint

I’m trying to change a scalar parameter for my material in game after I press “J”, but it doesn’t do anything. I don’t want to assign it to a static mesh because it’s controls the rotation of a world aligned texture which will affect the entire wolrd. Any help would be appreciated.
Here is the blueprint.

It is doing something but the create dynamic material instance isn’t applied to anything in your level because you didn’t assign it to anything…to verify that the values are indeed changing though you can grab the variable RotWind and from it drag off and use a Get Vector Parameter Value node then right-click and get a Print String node from the Return Value of the Get Vector Parameter Value node plug it into the In String pin now run that after you press J and it should print the values to the screen so you can see that they are changing…you can’t see them change because you are changing them on a material that isn’t applied to anything for you to see.

Thanks for helping me.
Well it looks like it’s changing, but according to vector values is changing only the alpha, whereas according to scalar values it’s also changing, and from both they change only to the value of 1, even though i set higher.
I’ve thought about trying to put vector parameter and change its X value instead, but it was to no vail.
Is there anything else I could do to solve this problem or to understand the situation? I’m pretty new to blueprints and I still don’t know too much.
Anyway thanks again for the help.

Edit: Don’t care for the potato resolution. Intel HD Graphics don’t like too much graphics.

You should apply the material to something in the level in order to see the changes after the dynamic version is created using a set material node and have it set to something in your scene otherwise the dynamic version is just sitting in the BP and not being applied to anything. If there is something in the scene you want it to affect you can move those nodes into it’s BP and then apply the material to it there.

These may also be helpful:

The material is applied to something. In the images above, the white plane contains the instanced material that I’m trying to change during runtime, since I’m using it as a reference if the blueprint is working. I want it to affect every single thing in the editor that has that material instead of applying it to just one mesh, since I’m trying to adjust the world aligned texture. Because its a grass mesh and it looks that the foliage editor can’t accept blueprints. And that’s why I’m trying to do that in level blueprint, but I still can’t get results in runtime.
Edit: In the images above I plugged the nodes incorrectly, so I adjusted them and values are being changed, but the material is not being affected.

When is the material applied? Is it further down in the BP execution? If not it isn’t applied to anything in the scene only an instance of the parent material is…not a dynamic instance which is why you need to create one (that is make a new copy of the instance that is now dynamic) which you have done but without that dynamic version actually applied to anything in the level the changes you make to the dynamic version you just created will be sitting in the BP. Use a Set Material Node and apply it to the white plane mesh after it is created.

Do I have to make a new variable of the Material Reference type? where should I plug it? Tried making a new copy of the instanced material (by just right-clicking in the instance an creating a new one [which may not be the way you’re trying to tell me]), but still no result. Anyway I’m linking the simplified version of the project here and thanks for the help:

Edit: I’m able to control the parameters in viewport if I make an actor class. But even the actor class won’t change during runtime and like I said before, actor class won’t help in that situation.

Here’s the project files: Google Drive: Sign-in

You have to apply the material you are changing to something so you can see the changes you are making:

Thank you Black Phoenix, that helped me a lot. After I saw your last suggestion I tried to apply that to my foliage instance, but then another problem appears… there’s no Set Material for foliage instance :frowning:

So then I found this thread about Material Parameter Collection:

Which I then applied to my level blueprint.

Thou I found another answer, your suggestions helped me for future knowledge with blueprints. Thanks a lot.

Now another question. How do I rotate a Wind Directional Source in Level Blueprint when I press a button?