ABSTRACT

The per-fragment attributes produced by the rasterizer may include a depth, a normal vector, a set of RGB colors, and a set of texture coordinates. Using these data, the fragment program determines the color of each fragment. The fragment processing stage has the strongest impact on the quality of the final image and has employed a variety of algorithms. The algorithms largely focus on lighting and texturing.