RenderWare V2.1

Previous Page Index Next Page

RwMaterial *

RwSetMaterialSpecular(RwMaterial *material, RwReal ks);

Description

Sets the material’s specular reflection coefficient.

Arguments

material Pointer to the material.

ks Specular reflection coefficient in the range CREAL(0.0) to CREAL(1.0).

Return Value

The argument material if successful, and NULL otherwise.

See Also

RwGetMaterialSpecular()

RwSetMaterialAmbient()

RwSetMaterialDiffuse()

RwSetMaterialSurface()

RwSetPolygonSpecular()

RwSetSurfaceSpecular()