Description
Creates a new material with default values for its attributes.
Arguments
None.
Return Value
A pointer to the newly created material if successful, and NULL otherwise.
Comments
By default:
· The material’s coefficients of ambient, diffuse, and specular reflection are CREAL(0.0).
· The material’s light sampling type is rwFACET.
· The material’s geometry sampling type is rwSOLID.
· The material has no texture.
· The material’s only texture mode is rwLIT.
· The material’s opacity is CREAL(1.0).
See Also