DragonFly On-Line Manual Pages

Search: Section:  


EZ_ShadeModel(3)                EZWGL Functions               EZ_ShadeModel(3)

NAME

EZ_ShadeModel - select a shading model for coloring primitives

SYNOPSIS

#include <EZ.h> void EZ_ShadeModel(int model)

ARGUMENTS

model Specifies a shading model. Either EZ_SMOOTH or EZ_FLAT.

DESCRIPTION

EZ_ShadeModel selects a shading model for rendering primitives. In the EZ_FLAT shading model, each primitive is colored with a single color across the primitive. In the EZ_SMOOTH shading model, the colors at the vertices are linearly interpolated across the primitive.

SEE ALSO

EZ_Color3f(3), EZ_Normal3f(3), EZ_Vertex3f(3), EZ_ColorMaterial(3) EZWGL EZ_ShadeModel(3)

Search: Section: