How do I pull off full screen antialiasing with GL? I would like to do it through hardware. My initial thought was to look at the stencil buffer (or the frame buffer, whichever one stores the FINAL image put to the screen), and modify it based on a simple antialiasing algorithm I put together. However after thinking for a little bit I realized that that would be software calculated FSAA and not cool.
I seem to be confused on how to get effects processed by the GPU. How does my compiler know what I want to be done by the GPU and what needs to be done by the CPU?
My teacher said that it was a very hardware specific process, however there has to be a better way. Thanks
Depending on the card, you can use WGL_ARB_multisample to control the FSAA, but it doesn’t work on all cards (mostly the newer cards, GeForce3+, Radeon 9500+, and a few others).