ShadeModel
Keywords: ShadeModel, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> ShadeModel - 3D API shade model

> ## Usage

> ShadeModel = int(model)

> ## Valid Enumerants

> model: Flat, Smooth

> ## Description

> Specify the shading model. See the OpenGL glShadeModel manual page for details. See the D3DRS_SHADEMODE render state description for DirectX 9.

> The standard reset callback sets the ShadeModel state to int(Smooth).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> ShadeMode