opengl - What is the difference between a sample, a pixel and a fragment? -


i still can't wrap head around differences there between sample/pixel/fragment.

since fragment shader executes per pixel, think fragment refers pixel, correct? can give me example , definition of each one?

a pixel screen element. fragment corresponding portion given geometric primitive +- covering pixel. antialiasing (and more) several samples can pickup in pixel.

a pixel values mean of samples values, , fragments several triangles might contribute given pixel.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -