#include <iris/g3.h>void G3_MaterialColorDiffAmb(RGB diffuse, GXRgb ambient, BOOL setVtxColor);void G3B_MaterialColorDiffAmb(G3DLInfo* info, GXRgb diffuse, GXRgb ambient,
BOOL setVtxColor);void G3C_MaterialColorDiffAmb(G3DLInfo* info, GXRgb diffuse, GXRgb ambient,
BOOL setVtxColor);void G3BS_MaterialColorDiffAmb(G3DLInfo* info, GXRgb diffuse, GXRgb ambient,
BOOL setVtxColor);void G3CS_MaterialColorDiffAmb(G3DLInfo* info, GXRgb diffuse, GXRgb ambient,
BOOL setVtxColor);| info | コマンドリスト情報 |
| diffuse | 拡散反射色 |
| ambient | 環境反射色 |
| setVtxColor | 頂点カラーセットフラグ |
なし。
材質の拡散反射色と環境反射色を設定します。
拡散反射色と環境反射色は、r,g,b の各情報を 5 ビットで表現します。
また、頂点カラーセットフラグは、頂点カラーをセットしないか、拡散反射色を頂点カラーとしてセットするかを選択することが出来ます。
G3*_End
G3*_VertexShort
G3*_VertexXY
G3*_VertexXZ
G3*_VertexYZ
G3*_VertexDiff
G3*_Color
G3*_Normal
G3*_TexCoord
2003/12/01 初版