title: How can I vary the point size in OpenGL glBegin(GL_POINTS)?
body: <p>Is there any way to vary the point size when drawing lots of points? I know there's the glPointSize(float), but is there a way to do it in a 'batch' or array?</p>
  
  <p>I would like the points to have different sizes based on an attribute of the data. Such as each point having x, y, z, and a size attribute. I'm using frame buffers right now in java.</p>
  
  <p>Could I possibly use vertex shaders for this?</p>