Same Color in enableEdgeRendering and renderOutline result in collaps of one edge

I tried to render the edges of the 2 circles and the sides of a cylinder.
I tried to combine renderOutline and enableEdgeRendering (Is there maybe a better solution to this?)

https://playground.babylonjs.com/#GWFMWD#2
grafik

However, when I make the Color of renderOutline and enableEdgeRendering the same the second half of the top circle isnt drawn anymore:
https://playground.babylonjs.com/#GWFMWD#3
grafik

From above and bottom, the rendering works as expected :
grafik

edgesColor is expecting a Color4:

https://playground.babylonjs.com/#GWFMWD#7

2 Likes

My bad, thanks for the fast response :slight_smile: