How to render smooth points (as circles) similar to OpenGL fixed pipeline option GL_POINT_SMOOTH

I have to render a line with end points (Dimension Line). In OpenGL, I used GL_POINT_SMOOTH.
I’m looking for the BabylonJS equivalent for the same.

Is there any option in Babylon?

MeshBuilder.CreateSphere is not helpful as these line ends points should not be zoomed to bigger/smaller sizes on Camera zoom in/out.

Here’s a playground sample that renders endpoints are squares that I expect to get as smooth circles.

I do not think that WebGL support GL_POINT_SMOOTH unfortunately :frowning:

what about a sphere with infinite distance set to on?
Babylon.js Playground (babylonjs-playground.com)

2 Likes