# Post Process Blendable Weight in Material?

**URL:** <https://forums.unrealengine.com/t/post-process-blendable-weight-in-material/380919>\
**Category:** Rendering\
**Tags:** fyi, unreal-engine, Post-Process, question\
**Created:** [January 4, 2017, 10:38pm UTC](https://forums.unrealengine.com/t/post-process-blendable-weight-in-material/380919 "2017-01-04T22:38:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Answers.Archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Post date:** [January 4, 2017, 10:38pm UTC](https://forums.unrealengine.com/t/post-process-blendable-weight-in-material/380919/1 "2017-01-04T22:38:03Z")

</div>

Hi,

I have a blendable post process material but since I’m using custom code it doesn’t blend in but have full effect when not at 0 but the rest of the material blend properly. Is there a way to have a parameter in my material that will use the same blend weight of the blend weight value so it will blend in? Not sure if it’s clear ?

![120838-blendables.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/f/20faa0ee9fda6129a5c2c9ba65b15d2e46c35e01.jpeg)

cheers

---

<div class="post-metadata">

**Author:** ![Answers.Archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Post date:** [January 4, 2017, 10:38pm UTC](https://forums.unrealengine.com/t/post-process-blendable-weight-in-material/380919/2 "2017-01-04T22:38:10Z")

</div>

Hi Daniel,

There isn’t currently a way to read the blend weight directly in a material as the intended usage is to blend between a base material and it’s instance. There is a workaround you could use that takes advantage of this system however, by creating a base material with a scalar parameter set to 0, for example.:

 ![120839-blend+alpha.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/a/90a308dd21ab85cda85035084115eacb9ad2ddea.png)

Then creating an instance where the BlendWeight parameter in this example is set to 1 instead. Using the material instance as the blendable will cause the blend weight UI to interpolate the parameters between 0 and 1, effectively giving you the alpha you’re after. In the above example the screen would fade to red with the slider.

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![Answers.Archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Post date:** [January 4, 2017, 10:38pm UTC](https://forums.unrealengine.com/t/post-process-blendable-weight-in-material/380919/3 "2017-01-04T22:38:11Z")

</div>

Exactly what I need!  
Thanks!

---

<div class="post-metadata">

**Author:** ![Asher.Zhu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asher.Zhu](https://forums.unrealengine.com/u/Asher.Zhu)\
**Post date:** [August 21, 2019, 8:44am UTC](https://forums.unrealengine.com/t/post-process-blendable-weight-in-material/380919/4 "2019-08-21T08:44:01Z")

</div>

Hi all,

Just for future reference. I haven’t tested earlier versions but in 4.22 you can now create a Material Instance Dynamic at runtime and set it to be used in Post Process.

 ![285492-2019-08-21-16-24-57-event-graph.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/2/c52efd7bb7cda426f9d31a2d53f4d2494d50c8bb.jpeg)

 ![285493-2019-08-21-16-24-16-testground422-unreal-editor.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/4/ea4ee230794c46f56329fed32c76a1a058e83a14.jpeg)

---

<div class="post-metadata">

**Author:** ![douglaslassance](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/douglaslassance/32/1210436_2.png) [@douglaslassance](https://forums.unrealengine.com/u/douglaslassance)\
**Post date:** [October 30, 2021, 2:17am UTC](https://forums.unrealengine.com/t/post-process-blendable-weight-in-material/380919/5 "2021-10-30T02:17:27Z")

</div>

Thanks, Chris. One the most hidden feature of all time, but works great. Worth mentioning that the parameter does not have to be called `BlendWeight`, only the rest of the described setup matters.
