#include <nnsys/g3d/glbstate.h>
void
NNS_G3dGlbMaterialColorDiffAmb(
GXRgb diffuse,
GXRgb ambient,
BOOL IsSetVtxColor
);
| diffuse | Diffuse reflection color |
| ambient | Ambient reflection color |
| IsSetVtxColor | Vertex color set flag |
None.
This function configures the diffuse color and the ambient color of the material in the global state kept inside the G3D library. One of two options can be chosen for the vertex color set flag—not setting the vertex color (FALSE), or setting a diffuse color as the vertex color (anything other than FALSE). The configuration performed with the API will be applied to the model if using either the NNS_G3dMdlUseGlbDiff function or the NNS_G3dMdlUseGlbAmb function.
NNS_G3dGlbMaterialColorSpecEmi
08/02/2004 Initial version.
CONFIDENTIAL