1.all vertices: calculate pos,n,color,uv,...(lit)2a. all fragments on 3 edges to calculate info.2b.rasterize: fragments on scanlines inside 3 edges.3c.each fragment get interpolated pos,n,color,uv,...3.in fragment shader, get your final result(color).