Hacker News new | ask | show | jobs
by pbsurf 1439 days ago
Getting sufficient antialiasing quality for 2D graphics is difficult on GPUs. https://github.com/memononen/nanovg accomplishes this with GL2/GLES2 level hardware for most of the stuff one would want to render as part of a GUI. My project https://github.com/styluslabs/nanovgXC supports rendering arbitrary paths with exact coverage antialiasing, but requires GLES3.1 or GL4 level hardware for reasonable performance.
1 comments

Here's how I did that https://github.com/Const-me/Vrmac/blob/master/Vrmac/Draw/VAA...

Inexact but IMO pretty good still. With some modifications, the approach can be used in GLES2.