Rasterizing a triangle using vertex and fragment shaders.