Setting post process settings not working?

I’ve got a blueprint setup that is going to use an interface to change some post processing settings during runtime. I had this working before but changed a few things and now it’s not working all of a sudden. Here is my setup:

In this snippet, I’m getting all post process volumes in the level and am calling the interface on them. (There’s only one volume)

Next up, I am setting the post processing settings to their new settings which is using a wonky shader I made.

You can’t call an interface on a post process volume. It has no code to respond to it.

If you want to change the PP in blueprint, get a reference to it with ‘get actor of class’ ( no need to make this an array ), and do a ‘set settings’ on the reference.

1 Like

Gave your suggestion a try and still nothing. I’m not sure if I’m misunderstanding something because the way I had it set up did previously work. I’m calling the interface from my game state which should work.

Where is this code?

You can’t call the interface ( on a PP ), so this is never getting used

The way to set the PP settings is

( for instance ). When you have the ‘make postprocess’ node selected, you can add pins

2 Likes

So here’s that code:

The way you have that set up is interesting, though I do have one issue here. The way I was doing it before allowed me to set the render settings of a material I made to handle some screen effects. I don’t see how that’s possible with making post process settings as there is no way for me to retrieve the value as far as I can see.

I wish this were simpler but it seems to only become more complex.

It may or may not be possible to assign a material instance here.

Two ways around it

  1. Put the PP in a blueprint with the dynamic material instance already assigned, and tell the blueprint what to do

  2. Use parameter collection variables in the material.

1 Like

I’ve managed to find a solution and learn what it was I did that may have stopped it from working originally. Keeping roughly the same setup, (1) the issue was that I had passed in my Post Processing Volume BP in instead of the actual volume itself. (2) You have to make a new variable of type Post Process Settings to serve as the mechanism for controlling the settings. Plugging that into the “set” allows you to control any parameter you want at runtime. For a sanity check, it might also be beneficial to complete delete the Post Process Settings Ref and Set and create new versions of them.

1 Like