RenderWare V2.1

Previous Page Index Next Page

RwPolygon3d *

RwSetPolygonSpecularRGBStruct(RwPolygon3d *poly, RwRGBColor *rgb)

RwPolygon3d *

RwSetPolygonSpecularRGB(RwPolygon3d *poly, RwReal red, RwReal green, RwReal blue)

Description

Sets the specular RGB surface properties of the polygon.

Arguments

poly Pointer to the polygon

rgb pointer to the RwRGBColor that contains the surface properties.

Return Value

The argument poly if successful, and NULL otherwise.

See Also

RwGetMaterialAmbientRGB()

RwGetMaterialSpecularRGB()

RwGetMaterialSpecularRGB()

RwSetMaterialAmbientRGB()

RwSetMaterialDiffuseRGB()

RwSetMaterialSpecularRGB()

RwGetPolygonAmbientRGB()

RwGetPolygonDiffuseRGB()

RwSetPolygonAmbientRGB()

RwSetPolygonDiffuseRGB()

RwGetPolygonSpecularRGB()