title: Drawing round points using modern OpenGL
body: <p>I know <a href="http://www.gamedev.net/topic/471020-solvednewbiehow-to-get-a-round-point-not-square/" rel="noreferrer">how to draw round points</a> using fixed pipeline. However I need to do the same using modern OpenGL. Is it possible, or should I use point sprites and textures?</p>
  
  <p>For the interested.Here is how it is done with fixed pipeline:</p>
  
  <pre><code>        glEnable(GL_ALPHA_TEST);
      glAlphaFunc(GL_NOTEQUAL, 0);
      glEnable(GL_BLEND);
      glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
      glEnable( GL_POINT_SMOOTH );
      glPointSize( 8.0 );
  
      glMatrixMode(GL_PROJECTION);
      glLoadMatrixf(myMatrix);
      glMatrixMode(GL_MODELVIEW);
      glLoadMatrixf(myAnotherMatrix);
  
      glBegin(GL_POINTS);
      glColor3f(1,1,1);
  
      glVertex3fv(position);
  
  
      glEnd();
      glDisable(GL_POINT_SMOOTH);
      glBlendFunc(GL_NONE, GL_NONE);
      glDisable(GL_BLEND);
  </code></pre>