How to update a post-process material parameter in BP?

Hi, I have an unbound post-process volume in my level that has a post-process material with 3 scalar parameters. I would like to change values of, for example, the “darken factor” parameter in character blueprint. How do I do that?

277336-capture.png

277337-capture.png

Note: I have read everything on dynamic material instances but none of them explain how to change parameters of a material in a post-process volume, only of a mesh material.

Thanks in advance.

You need to replace post process material in the settings with dynamic instance, which is painful to do in blueprints as you need to go thru lot of notes just to get material then set new one

depending what you’re doing you may be able to get away with using a material parameter collection. that be the easiest method.

alternatively, if you make your post process into a blueprint (which is basically just a box collision with a post process component as a child), you can alter the parameters. I’m not sure exactly how that’s done though.

you could look at the chameleon post processing as an example since that’s free for the month.

For anybody else doing this in the future, using material parameter collections worked since the parameters in it can be accessed from any blueprint with no communication needed. 10/10, would recommend.

277407-capture.png

4 Likes