# Particles die behond edge (inverse depthfade?)

**URL:** <https://forums.unrealengine.com/t/particles-die-behond-edge-inverse-depthfade/321006>\
**Category:** FX\
**Tags:** particle-systems, edge, unreal-engine, question\
**Created:** [June 7, 2015, 8:44pm UTC](https://forums.unrealengine.com/t/particles-die-behond-edge-inverse-depthfade/321006 "2015-06-07T20:44:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vita\_Cordes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vita\_Cordes](https://forums.unrealengine.com/u/Vita_Cordes)\
**Post date:** [June 7, 2015, 8:44pm UTC](https://forums.unrealengine.com/t/particles-die-behond-edge-inverse-depthfade/321006/1 "2015-06-07T20:44:55Z")

</div>

Hey all,

I’m creating a particle systems for bugs running rampant in differend directions trough the use of of a vector field.  
I want to be able to place this system anywhere on my level which has very flat floors, but many edges.

So my issue here is: I want the particles to either die or dissapear when they go over an edge (they can go a little over it). I’ve seen some demo before where particles were spawned in a cone, and only those near the floor were visible.  
However, I’m unable to find whatever I saw there. Does anyone know of it?

I was thinking myself of using a depthfade node in the material editor, but then inversed. So the particles are only visible near an object. If anyone has differend solutions, please tell 😃

---

<div class="post-metadata">

**Author:** ![Vita\_Cordes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vita\_Cordes](https://forums.unrealengine.com/u/Vita_Cordes)\
**Post date:** [June 11, 2015, 9:22am UTC](https://forums.unrealengine.com/t/particles-die-behond-edge-inverse-depthfade/321006/2 "2015-06-11T09:22:50Z")

</div>

Answere found, tought it might be nice to share for those who ever had to deal with this problem 🙂

 ![45964-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/b/d3b50812b563880113ba127736c95e3721da1b99.jpeg)
