I have a VHS PP material instance on a Post Process Volume. I want to set it up so that when the player overlaps the collision sphere on an enemy, the VHS material parameters change to look like VHS static.
The problem is I’m not sure how to set this up properly. I’ve followed some tutorials for creating a Dynamic Material in the Construction Script of the enemy, I’m using the material on the enemy just for testing purposes and it doesn’t appear to change at all. Even if it was working I’m not sure if it is able to cast those changes from the enemy BP to change what’s happening to the Post Process Volume.
Here’s the construction script creating the dynamic material, and the Event Graph changing the parameters during the overlap.
Is this just a normal sphere? I don’t think you can apply a PP material to that. Well, you can, but it won’t do anything.
I’m assuming you want the player camera to VHS when they get near the enemy? Then it’s probably best to apply the PP to the player camera. There’s a slot for that
Then, since the advent of collection parameters, it’s much easier to change the PP using a collection, than a material instance. So in the enemy, you then can do something a bit like you had
I just got this to work. It looks terrible but I’m sure I’ll be able to clean it up. I never heard of Material Collections before so I never would have figured it out myself. Thanks!