# Can you draw particles only behind a mesh?

**URL:** <https://forums.unrealengine.com/t/can-you-draw-particles-only-behind-a-mesh/403017>\
**Category:** FX\
**Tags:** culling, draw, unreal-engine, particle, question\
**Created:** [August 27, 2017, 10:32pm UTC](https://forums.unrealengine.com/t/can-you-draw-particles-only-behind-a-mesh/403017 "2017-08-27T22:32:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ssj4pure](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ssj4pure](https://forums.unrealengine.com/u/Ssj4pure)\
**Post date:** [August 27, 2017, 10:32pm UTC](https://forums.unrealengine.com/t/can-you-draw-particles-only-behind-a-mesh/403017/1 "2017-08-27T22:32:37Z")

</div>

Hello,

Is there a way to have a particle system, which I’m emitting from a character mesh, only be drawn behind the mesh?

The design of the character will be pure black with white particles being emitted behind it. What I want to avoid is the white going over the character’s figure.

Any help would be seriously appreciated, thanks!

---

<div class="post-metadata">

**Author:** ![Ssj4pure](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ssj4pure](https://forums.unrealengine.com/u/Ssj4pure)\
**Post date:** [September 28, 2017, 1:30am UTC](https://forums.unrealengine.com/t/can-you-draw-particles-only-behind-a-mesh/403017/2 "2017-09-28T01:30:37Z")

</div>

I have managed to achieve this by enabling “Custom depth” for the player mesh and for the particle material having “SceneTexture:CustomDepth” → “SphereMask” → “Opacity” as shown below. I have no idea what performance toll this might bring in the future.

 ![214955-scenetexture-solution.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/f/4dff027d4376a16293dec16e90077f7c611531ab.png)
