| <<< More blending equations | Index | Antialiasing Example >>> |
We have square pixels, which make the image look computer-generated
The visual aspect of this is called "the jaggies"
To eliminate, OpenGL uses blending of source with surrounding destination pixels:
glEnable( GL_BLEND );
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
Then:
glEnable( GL_POINT_SMOOTH );
glEnable( GL_LINE_SMOOTH );
glEnable( GL_POYGON_SMOOTH ); // *** outdated and no longer supported
| <<< More blending equations | Index | Antialiasing Example >>> |