How to define line thickness?

Does it possible to define thickness to line ? (and how)

Unfortunately not, this is a limitation with WebGL/OpenGL. You can use thin cylinders instead, or @roland GreasedLine library instead.

3 Likes

alright,

I found 2 solutions for this :

  1. Use tubes : https://playground.babylonjs.com/#MZ7QRG#2644
  2. Use edgesRendering : https://playground.babylonjs.com/#1IYSYD#12

I will use tubes

1 Like