Each material has the following properties.
EZ_EMISSION
emissive color.
EZ_AMBIENT
ambient color.
EZ_DIFFUSE
diffuse color.
EZ_SPECULAR
specular color.
EZ_SHININESS
specular exponent.
EZ_COLOR_INDICES
indices for lighting on
color map mode.
These properties are set by
void EZ_Materialfv(int face, int propName, float *prop)
Here are the default material properties.
emissive color | (0.0, 0.0, 0.0) |
ambient color | (0.2, 0.2, 0.2) |
diffuse color | (0.8, 0.8, 0.8) |
specular color | (0.0, 0.0, 0.0) |
shininess | 0.0 |
color indices | 0.0 1.0 1.0 |