How to rasterize OpenGL triangle on half-integer pixels centers
问题 OpenGL pixels/fragments are conceptually 1x1 squares centered on half-integer pixels. The OpenGL 4.5 specification states: A fragment is located by its lower left corner, which lies on integer grid coordinates. Rasterization operations also refer to a fragment’s center, which is offset by (1/2,1/2) from its lower left corner (and so lies on half-integer coordinates). Rasterizers typically assume that pixel centers lie on the integer grid. Since I am attempting to implement a correct OpenGL