Help with Box Mask 3D Post Process material.

I am trying to create a blueprint class that I can place in my levels to operate as “Dark Zones”

This class will just be a simple blueprint class with a post process and a box collision.

On construction it sets values of a material parameter collection for the boxs orgin point and the box extent.

I then Want to take this data into my material to use in the post process material to determine if a pixel is in the bounds or not.

Below is a picture of my Material. I am new to materials and need some guidance on how to achieving making everything in the box effected by the post process and making the area dark.

Thanks

After some playing around I have been able to do the exact opposite I want but can not make it dark only in the boxed area.

I was able to achieve the desired result by doing the following in the picture below.

m

I created Material Function to allow me to easily create a Box Mask to apply Post Process effects with in that can be seen from outside the box bounds.

1 Like