# Fog of War in material only?

**URL:** <https://forums.unrealengine.com/t/fog-of-war-in-material-only/142752>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [May 3, 2020, 8:43pm UTC](https://forums.unrealengine.com/t/fog-of-war-in-material-only/142752 "2020-05-03T20:43:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Killerzwerg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Killerzwerg](https://forums.unrealengine.com/u/Killerzwerg)\
**Post date:** [May 3, 2020, 8:43pm UTC](https://forums.unrealengine.com/t/fog-of-war-in-material-only/142752/1 "2020-05-03T20:43:12Z")

</div>

Hey,  
I have bought a fog of war asset on the marketplace.  
The problem is, that any wall needs to be an actor\_bp…

[https://i.ytimg.com/vi/RZak6nHRY-k/maxresdefault.jpg](https://i.ytimg.com/vi/RZak6nHRY-k/maxresdefault.jpg)

So i thought about, to create a material which does all the things for the fog of war.  
But i have no idea how…

It should allow to only show areas where the top-down-character can look at, if there´s a wall in it´s way, the player can´t see behind the wall.

What do you think, is this possible?

And how would you do that?
