# Render Hole-mesh on another mesh

**URL:** <https://forums.unrealengine.com/t/render-hole-mesh-on-another-mesh/127373>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [June 12, 2019, 5:44am UTC](https://forums.unrealengine.com/t/render-hole-mesh-on-another-mesh/127373 "2019-06-12T05:44:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [June 12, 2019, 5:44am UTC](https://forums.unrealengine.com/t/render-hole-mesh-on-another-mesh/127373/1 "2019-06-12T05:44:41Z")

</div>

I would like to render a hole onto a mesh without changing the geo of the mesh (it would mean to create a separate material and such)

 ![unknown.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/a/2a1c88ffa64c85b161423e4dd3be1d15e882155c.jpeg)

Using Translucency + No Depth Test partly works, but as you can see, you shouldnt be able to see the lower parts of the mesh and it should be occluded by the original mesh.  
Anyone knows some trickery to achieve this?

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [June 12, 2019, 6:23am UTC](https://forums.unrealengine.com/t/render-hole-mesh-on-another-mesh/127373/2 "2019-06-12T06:23:26Z")

</div>

Cover the hole on top with a lump that renders custom stencil/depth. Only show decal fragment if it is behind the cover.

---

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [June 12, 2019, 8:44am UTC](https://forums.unrealengine.com/t/render-hole-mesh-on-another-mesh/127373/3 "2019-06-12T08:44:19Z")

</div>

That might actually work! I’ll try that.  
Thanks!
