The process, in which a primitive individual is broken down into discrete elements called fragments, is known as Rasterization. These fragments are based on the sample coverage of the primitive. It is a process with the help of which a primitive is converted into a two-dimensional image. When rasterizing a primitive, it consists of two parts:
- Determine which square in the integer grid window has been occupied by the primitive.
- Assigning a color and depth value to each occupied grid.
It is a process in which the occupied pixels by the primitives are identified and the output variable of the vertex shader is interpolated for each covered pixel.