top of page

C++

Made sure that the pixels inside a triangle all take the correct texture coordinates by interpolating triangle vertices' positions using barycentric coordinates

​

Screen-space smooth triangles (1st cube) and perspective-correct triangles (2nd cube)

bottom of page