EasyManuals Logo

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #287 background imageLoading...
Page #287 background image
M
glMaterials
Chapter 11
287
params contains three integer or floating-point values specifying the color indices for
ambient, diffuse, and specular lighting. These three values, and GL_SHININESS, are
the only material values used by the color index mode lighting equation. Refer to the
glLightModel reference page for a discussion of color index lighting.
Notes
The material parameters can be updated at any time. In particular, glMaterial can be
called between a call to glBegin and the corresponding call to glEnd. If only a single
material parameter is to be changed per vertex, however, glColorMaterial is preferred
over glMaterial (see glColorMaterial).
Errors
GL_INVALID_ENUM is generated if either face or pname is not an accepted value.
GL_INVALID_VALUE is generated if a specular exponent outside the range [0,128]
is specified.
Associated Gets
glGetMaterial
See Also
glColorMaterial,
glLight,
glLightModel

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals