# Two colors process by area ?

**URL:** <https://forums.unrealengine.com/t/two-colors-process-by-area/325493>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, color, fade, Rendering, question, process\
**Created:** [July 16, 2015, 2:04pm UTC](https://forums.unrealengine.com/t/two-colors-process-by-area/325493 "2015-07-16T14:04:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Limpieza](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Limpieza](https://forums.unrealengine.com/u/Limpieza)\
**Post date:** [July 16, 2015, 2:04pm UTC](https://forums.unrealengine.com/t/two-colors-process-by-area/325493/1 "2015-07-16T14:04:02Z")

</div>

Hi !

I have an urban project that i want to render in UE4 while playing, through a specific way that i don’t know how to achieve.

Here is my top map view :

 ![50436-top_view_normal.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/6/cb6fca32e766619a01a7cb42cb51fc09d99f014a.jpeg)

Only a small area is playable.  
The effect i want to complete is to make the playable area “in color” and all the rest (the environment) fading to a “black and white” color.

Here is preview that i did in Photoshop to illustrate it :

 ![50437-top_view_blend.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/5/5d5160642cf1198a3223697a799ccb222a7a6002.jpeg)

The goal is like two process volumes but for an area location and not to the player location affecting the entire view.  
We need to **always** see the environment black and white, and the playable ground **in color** , wherever the player is.

Any idea how to proceed ?

Sorry for my poor english, and thanks in advance for your reponses !

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [July 16, 2015, 4:32pm UTC](https://forums.unrealengine.com/t/two-colors-process-by-area/325493/2 "2015-07-16T16:32:03Z")

</div>

Hi Limpieza -

Assuming that you will be playing the game in a closer third or first person view, You can setup your materials for your objects to render in color or Black and White based on a Location-Based Sphere Mask whose size and exact dimensions is controlled in a blueprint. Alan Willard one of Epic’s Tech Artists has put together a great video tutorial for a setup just like this one. He specifically deals with Opacity but you could also change it to deal with color.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![Limpieza](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Limpieza](https://forums.unrealengine.com/u/Limpieza)\
**Post date:** [July 17, 2015, 1:05pm UTC](https://forums.unrealengine.com/t/two-colors-process-by-area/325493/3 "2015-07-17T13:05:38Z")

</div>

Hi, thanks for the answer.

It looks really amazing.  
You were right, i forgot to mention it’s a game with a First Person view.

Quick question using this method, if i am correct, i should use a sphere mask on every materials of my scene, is that correct ?

I have approximately 20 materials ~~ (Ground, building, wall, trees (branches, leaves, …) and more), Is the simple way is to create a sphere mask for the color of each material using the same location (assuming the playable area is a sphere) ?

Thank you.

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [July 17, 2015, 1:48pm UTC](https://forums.unrealengine.com/t/two-colors-process-by-area/325493/4 "2015-07-17T13:48:16Z")

</div>

Hi -

Yes, I would setup a Material Function with all of your Sphere Mask setup which then is placed in all your materials. Doing this way if you ever need to change something you only need to change it one time in the Function and it will propagate to all the materials using that function.

Thank You -

Eric Ketchum
