By default, the graphics library uses a flat shading model for coloring geometric objects, i.e., all vertices are assigned the same color. A primitive can also be smooth (Gouraud) shaded. In this model, all vertices are treated individually. The library uses linear interpolation to color the primitive. Shading model is controled by
void EZ_ShadeModel(ind mode)