I want do increase the point size when the camera zooms in or ratate closer to the point.
I have found a solution in StackOverflow but that doesn’t respect the zoom, just the rotation.
I want do increase the point size when the camera zooms in or ratate closer to the point.
I have found a solution in StackOverflow but that doesn’t respect the zoom, just the rotation.
The following solves my problem:
gl_PointSize = size * projectionMatrix[0][0];