#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 material diffuse reflection color (diffuse
) and ambient reflection color (ambient
) of 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 this API will be applied to the model if using either the NNS_G3dMdlUseGlbDiff
function or the NNS_G3dMdlUseGlbAmb
function.
NNS_G3dGlbMaterialColorSpecEmi
2004/08/02 Initial version.
CONFIDENTIAL