Assigning a Dynamic Material Instance to a Post Process Volume, as Post Process Material

Hi,

I have a Post Process inside a Blueprint, and a Post Process Material assigned to the Post Process. The goal is, that you can drop the Blueprint into a level, and have the Post Process Material affect the scene. So far so good.
However, I also want to be able to control the material parameters directly through the Blueprint. I know I could use a Material Parameter Collection to do this, but the issue with this would be, that if I change the parameters, it would then be applied to all levels, the Blueprint / Post Process Material is used in. So I figured a Dynamic Material Instance is the way to go.

But here’s where I hit a wall. I don’t know how to apply the Dynamic Material Instance that I created, to the Post Process. For Static Meshes, I would just use a “Set Material” node, and set the Static Mesh Component as a target, like this:


But unreal doesn’t allow me to simply set Post Process Component as a target instead.

For clarification, I want the Dynamic Material Instance to affect this slot:

Is there any way to do this?

1 Like

You can do it with this simple 207 step process

A much easier way, is to write the material with ‘material parameter collection’ parameters. Then you assign it manually to the PP, but still change it at runtime :slight_smile:

2 Likes

Works perfectly, thank you!

1 Like

works like charm, thanks!!