Rounded GL_POINTS

Hi everyone! :smiley:

Is there any way of draw rounded point using the glBegin(GL_POINTS)? Because when drawn with GL_POINTS, all points are square.

I could not find information on how to do it :frowning:

My example code:

glColor3f(0.0f,1.0f,0.0f); //blue color
         glPointSize(20.0f);
         glBegin(GL_POINTS);
         glVertex3f(1,1,1);
         glEnd();

com-crop

Wellโ€ฆ iโ€™m a fool :doh:
I found the solution.
so:


glEnable(GL_POINT_SMOOTH);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);