【C++】 DirectX初心者質問スレ Part34 【C】
■ このスレッドは過去ログ倉庫に格納されています
0504デフォルトの名無しさん
2011/04/13(水) 00:44:10.99ライトのスペキュラーとマテリアルのスペキュラーの作用の仕方がわからない
試さないと…
ライトのスペキュラって
typedef struct _D3DLIGHT9 {
D3DLIGHTTYPE Type; /* Type of light source */
D3DCOLORVALUE Diffuse; /* Diffuse color of light */
D3DCOLORVALUE Specular; /* Specular color of light */ ←これのこと
D3DCOLORVALUE Ambient; /* Ambient color of light */
D3DVECTOR Position; /* Position in world space */
D3DVECTOR Direction; /* Direction in world space */
float Range; /* Cutoff range */
float Falloff; /* Falloff */
float Attenuation0; /* Constant attenuation */
float Attenuation1; /* Linear attenuation */
float Attenuation2; /* Quadratic attenuation */
float Theta; /* Inner angle of spotlight cone */
float Phi; /* Outer angle of spotlight cone */
} D3DLIGHT9;
■ このスレッドは過去ログ倉庫に格納されています