# Drawing edges of merged mesh - Merging 2 cylinder results in black mesh

**URL:** <https://forum.babylonjs.com/t/drawing-edges-of-merged-mesh-merging-2-cylinder-results-in-black-mesh/12377>\
**Category:** Questions\
**Created:** [July 10, 2020, 12:46pm UTC](https://forum.babylonjs.com/t/drawing-edges-of-merged-mesh-merging-2-cylinder-results-in-black-mesh/12377 "2020-07-10T12:46:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Browork](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/browork/32/13350_2.png) [@Browork](https://forum.babylonjs.com/u/Browork)\
**Post date:** [July 10, 2020, 12:46pm UTC](https://forum.babylonjs.com/t/drawing-edges-of-merged-mesh-merging-2-cylinder-results-in-black-mesh/12377/1 "2020-07-10T12:46:04Z")

</div>

I don’t know if its a bug or if I just use it the wrong way.

I have 2 cylinder where I draw the top (EdgeRenderer) and the side (renderOutline) edges.  
First when they intersect each other its breaks the edge rendering a bit.

I tried merging them as a solution, but then they get completely black.  
My playground:  
[https://playground.babylonjs.com/#1GTK9D#10](https://playground.babylonjs.com/#1GTK9D#10)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [July 10, 2020, 1:12pm UTC](https://forum.babylonjs.com/t/drawing-edges-of-merged-mesh-merging-2-cylinder-results-in-black-mesh/12377/2 "2020-07-10T13:12:28Z")

</div>

Don’t add the merged mesh to the scene, it is automatically added:

[https://playground.babylonjs.com/#1GTK9D#12](https://playground.babylonjs.com/#1GTK9D#12)
