Test Rendering of 2D AA polygon on the GPU.
( clic on the image for full res )
That wasn’t that easy to handle all kind of polygon, especially for the thin multibranch stars. Because for minification a branch of this start is less than 1 pixel so the shader must be aware the line equation of nearest segment to render the correct AntiAliasing.
I’ve also implemented the stroke who is a simple special case of the PolyLine rendering