How to change the material's parameter value through the blueprint?

Hello,
I want to access the material that is used in the post-process component of the blueprint and change the material’s scalar parameter value through the blueprint itself during gameplay. I went through many tutorials where they created the ‘dynamic materials instance’ and changed it, but the issue is that if I take the post-process component, I can’t get access to the ‘create dynamic material instance’ function. How can I do it? Please assist me in doing so.
Thank you.


1 Like

Set the PP material up with this simple 500 step procedure :slight_smile:

Then, at runtime, you can

Fog

1 Like

1 Like

Thank you!
I’ll give it a try and revert.

1 Like

Thank you!
I’ll give it a try and revert.

Thank you, @ClockworkOcean and @3dRaven, for your quick help!
I used the @ClockworkOcean trick to achieve it, and it is working as per my need.
I am really glad for both of your efforts!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.