RenderWare V2.1

Previous Page Index Next Page

RwMaterial *

RwSetMaterialDiffuse(RwMaterial *material, RwReal kd);

Description

Sets the material’s diffuse reflection coefficient.

Arguments

material Pointer to the material.

kd Diffuse reflection coefficient in the range CREAL(0.0) to CREAL(1.0).

Return Value

The argument material if successful, and NULL otherwise.

See Also

RwGetMaterialDiffuse()

RwSetMaterialAmbient()

RwSetMaterialSpecular()

RwSetMaterialSurface()

RwSetPolygonDiffuse()

RwSetSurfaceDiffuse()