CSCI 566 - Computer Graphics Programming
Calculation of vectors needed for shading
u = p1 - p0 |

![]() |
![]() |
![]() |
is replaced with |
![]() |
Shading Polygons

glShadeModel(GL_FLAT); |

|
glShadeModel(GL_SMOOTH); |
![]() |
![]() |
![]() |
![]() |
Notes and figures from: