Hi and thanks for having me,
(not sure if this thread is correctly placed in programming & scripting. If not please feel free to move to where it belongs moderators, thank you)
So here is my situation:
I have 2 materials applied in the post process volume (PPV) which means 2 array elements in section “Rendering Features” → “Post Process Materials”.
(Workflow 1:) From one of my blueprints I set up the first PPV material by having set it up as “Create dynamic material instance”, promoted it to a variable, followed by “Make Weighted Blendable” → “Make Array” → “Make Weighted Blendables” → “Make Post Process Settings” to end up in the node “Set Post Process Settings” receiving the exec node from the promoted “Set” DynMat node and target first person camera from the “Event Begin Play” node.
This I then control with the nodes “Set Scalar Parameter Value” and a timeline to nicely fade in and out in the same bllueprint by using “On Begin Overlap” and “On End Overlap” col boxes. That’s all good and it’s working.
However, I noticed that, whenever I do another setup like explained in “Workflow 1” in another blueprint (eg first person char BP), but for the 2nd material applied in the PPV, it seems things are biting each other and none of my materials applied in the PPV get to work anymore. Let alone the fact that I don’t know how to control PPV material #2 as well.
So my question is how do I need to set things up correctly for both materials to be control-able and how do I control more than one of the PPV materials? In my personal case it’s “PPV material #1” to show water drops when walking under a shower and “PPV material #2” distorting the screen when going under water.
Please let me know if you need more details in case my explanations so far aren’t an easy follow.
In any case I look forward to your responses and your help
Thank you,
Chris