How to get polygon antialiasing to work?

alphablending, antialiasing, opengl, polygon, primitive

Solution

Try `glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST)`

Problem

I'm using these function calls: ``` glEnable(GL_BLEND) glEnable(GL_POLYGON_SMOOTH) glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE) ``` It doesn't work and won't render. ``` glEnable(GL_BLEND) glEnable(GL_POLYGON_SMOOTH) glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) ``` It doesn't anti-alias.

Original source