How to make the lines of the Edgerender always the same thickness?

I want to make the lines of the Edgerender always the same thickness , instead of thcker when zoom closer. just act like gridMaterial line. What should I do?
https://playground.babylonjs.com/#TYAHX#201

Could be something like that - https://playground.babylonjs.com/#TYAHX#202
(when camera.raduis is less than 8 the edgesWidth = 2.0), for example; or you can make the proportion.

2 Likes