Addison-Wesley OpenGL SuperBible, Comprehensive Tutorial and Reference 6th (2014) by Nicholas Haemel

Addison-Wesley OpenGL SuperBible, Comprehensive Tutorial and Reference 6th (2014) by Nicholas Haemel

Author:Nicholas Haemel
Format: epub
Published: 0101-01-01T00:00:00+00:00


Multi-sample Antialiasing

To increase the sample rate of the image, OpenGL supports storing multiple samples for every pixel on the screen. This technique is known as multi-sample antialiasing or MSAA. Rather than sampling each primitive only once, OpenGL will sample the primitive at multiple locations within the pixel and, if any are hit, run your shader. Whatever color your shader produces is written into all of the hit samples. The actual location of the samples within each pixel might be different on different OpenGL implementations. Figure 9.11 shows an example arrangement of the sample positions for 1, 2, 4, and 8 sample arrangements.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.