# Dynamic material instance parameter on post process material not staying unique to the instance? Or Post Process Component only allowing last constructed component to be visible at a time?

**URL:** <https://forums.unrealengine.com/t/dynamic-material-instance-parameter-on-post-process-material-not-staying-unique-to-the-instance-or-post-process-component-only-allowing-last-constructed-component-to-be-visible-at-a-time/2323550>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, question\
**Created:** [February 8, 2025, 10:51pm UTC](https://forums.unrealengine.com/t/dynamic-material-instance-parameter-on-post-process-material-not-staying-unique-to-the-instance-or-post-process-component-only-allowing-last-constructed-component-to-be-visible-at-a-time/2323550 "2025-02-08T22:51:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yosheDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yosheDev](https://forums.unrealengine.com/u/yosheDev)\
**Post date:** [February 8, 2025, 10:51pm UTC](https://forums.unrealengine.com/t/dynamic-material-instance-parameter-on-post-process-material-not-staying-unique-to-the-instance-or-post-process-component-only-allowing-last-constructed-component-to-be-visible-at-a-time/2323550/1 "2025-02-08T22:51:15Z")

</div>

Apologies if the phrasing of the title is confusing, this issue is somewhat perplexing to understand exactly is causing it.

To start, I followed [this thread](https://forums.unrealengine.com/t/how-do-i-make-a-specific-area-dark/526097/9) at first to get a base for my post process effect.

What I want though, is to be able to place multiple actors around the level that will create a local darkness effect based on the position of the actor.

From [this video](https://youtu.be/SqnrnsL2p1c), you can see the main issue I am facing.

In the construction script, I am setting a Post Process Component’s material to be a dynamic material instance of my darkness material. Next, I set the specific parameters for that volume. The issue, is that despite every dynamic instance having its own parameter, only one post process component can be seen at any given time(the last one constructed).

 ![pphelp1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/c/c1c0d01a2daf626993aeacfec6d1f36eb5cd00ea.png)  
 ![pphelp2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/5/305fdd82f8fe777465302f610c4d226cf16102a9.png)

What on earth is stopping this from working? How could we go about making this work?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 9, 2025, 8:41am UTC](https://forums.unrealengine.com/t/dynamic-material-instance-parameter-on-post-process-material-not-staying-unique-to-the-instance-or-post-process-component-only-allowing-last-constructed-component-to-be-visible-at-a-time/2323550/2 "2025-02-09T08:41:15Z")

</div>

In the PP mat

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/f/a/2fade1557a6f9643af19a73b56ddc6b1dd613a02.png)

![PP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/7/6a7a6789e424cdd1d68ae1d075e6aeb9b2408218.gif)

---

<div class="post-metadata">

**Author:** ![yosheDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yosheDev](https://forums.unrealengine.com/u/yosheDev)\
**Post date:** [February 9, 2025, 3:21pm UTC](https://forums.unrealengine.com/t/dynamic-material-instance-parameter-on-post-process-material-not-staying-unique-to-the-instance-or-post-process-component-only-allowing-last-constructed-component-to-be-visible-at-a-time/2323550/3 "2025-02-09T15:21:37Z")

</div>

THANK YOU! This is exactly what I needed to know. Looks like I need to look into what exactly “Blendables” are so this doesn’t happen to me again in the future.

---

<div class="post-metadata">

**Author:** ![yosheDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yosheDev](https://forums.unrealengine.com/u/yosheDev)\
**Post date:** [February 9, 2025, 6:06pm UTC](https://forums.unrealengine.com/t/dynamic-material-instance-parameter-on-post-process-material-not-staying-unique-to-the-instance-or-post-process-component-only-allowing-last-constructed-component-to-be-visible-at-a-time/2323550/4 "2025-02-09T18:06:38Z")

</div>

Sorry to bother you; by chance, would you have any idea how I could go about having separate actors/blueprints placed in a world with a radius that CUTS OUT from the bounds that this current actor’s post processing uses?

[This video](https://youtu.be/vwOUOwl1Rh8) will help with context. I am trying to create a “light” that cuts out the “dark” that my first post process material creates.

My current plan was to try to change the order of the rendering, so that the “light” is rendered after the “dark”, and will return the normal scene data inside it’s own bounds. The issue is, PostProcess0 now shows the “dark” as part of the normal scene data, and can no longer be used to represent that.

I’ve tried a couple things, such as using “PostProcess1”, but that would always result in the “light” becoming “dark” and I couldn’t figure out why that was. I know that the material is setup in a way so that the “light” can show over the “dark” (I used the red to test that), but I just can’t use the postProcess0 and that is a huge problem. I also tried setting the light to be “After Tonemapping”, but that didn’t change anything either. I tried using stencils with hope, but I realize that they wouldn’t be useful for this sense I need the light to be affected like proximity. I did mess around with rendering the custom depth buffer and depth buffer, but the “dark” post processing doesn’t affect the custom depth buffer at all so that wasn’t particularly helpful here.

[Light Post Process Material](https://blueprintue.com/blueprint/e_ifs5-a/)

[Dark Post Process Material](https://blueprintue.com/blueprint/_3mfw3x-/)

Any ideas or insight here? I’m starting to get pretty lost on where to start digging. My next idea would be to try using meshes for the darkness instead, that way the “dark” can also affect the custom depth buffer and I could try doing it with stencils again. I’m not too hopeful with that idea though.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 9, 2025, 7:11pm UTC](https://forums.unrealengine.com/t/dynamic-material-instance-parameter-on-post-process-material-not-staying-unique-to-the-instance-or-post-process-component-only-allowing-last-constructed-component-to-be-visible-at-a-time/2323550/5 "2025-02-09T19:11:39Z")

</div>

No idea, I’m afraid 🙂

You might be able to do something by going back to a single PP volume, and moving masks around. Not really my area 😂

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 11, 2025, 7:12pm UTC](https://forums.unrealengine.com/t/dynamic-material-instance-parameter-on-post-process-material-not-staying-unique-to-the-instance-or-post-process-component-only-allowing-last-constructed-component-to-be-visible-at-a-time/2323550/6 "2025-03-11T19:12:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
