# trying to change a variable inside a post process material.

**URL:** <https://forums.unrealengine.com/t/trying-to-change-a-variable-inside-a-post-process-material/2644836>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [August 17, 2025, 4:08pm UTC](https://forums.unrealengine.com/t/trying-to-change-a-variable-inside-a-post-process-material/2644836 "2025-08-17T16:08:13Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 19, 2025, 6:13pm UTC](https://forums.unrealengine.com/t/trying-to-change-a-variable-inside-a-post-process-material/2644836/7 "2025-08-19T18:13:29Z")

</div>

Ok… I got it tested and it works form me.  
I think this might be your problem. Even if it’s not, something happens and you fail to set `Fog Mist`

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/0/cc0711e1199e08a5b307aecc75f59bc93587b0f0.jpeg)

Here is my setup:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/b/dab7e723c2c74b50fb225ef1c8a4c62c57433f97.jpeg)

Here is the result:

---

_[View the full topic](https://forums.unrealengine.com/t/trying-to-change-a-variable-inside-a-post-process-material/2644836)._
