RenderWare V2.1

Previous Page Index Next Page

RwMaterial *

RwSetMaterialAmbient(RwMaterial *material, RwReal ka);

Description

Sets the material’s ambient reflection coefficient.

Arguments

material Pointer to the material.

ka Ambient reflection coefficient in the range CREAL(0.0) to CREAL(1.0).

Return Value

The argument material if successful, and NULL otherwise.

See Also

RwGetMaterialAmbient()

RwSetMaterialDiffuse()

RwSetMaterialSpecular()

RwSetMaterialSurface()

RwSetPolygonAmbient()

RwSetSurfaceAmbient()