RenderWare V2.1

Previous Page Index Next Page

Diffuse <kd> [<kdg> <kdb>

Description

Sets the diffuse coefficient of reflectance of the current material.

Arguments

kd The diffuse coefficient.

kdg, kdb If specified then all three parameters are an RGB surface coefficient.

API Equivalent

RwSetSurfaceDiffuse()
RwSetSurfaceDiffuseRGB()