|
|
@ -99,9 +99,9 @@ INT WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _ |
|
|
|
float ambientMaterial[] = { 0.2f,0.2f,0.2f,1.0f }; |
|
|
|
float diffuseLightColor[] = { 1.0f,1.0f,1.0f,1.0f }; |
|
|
|
float diffuseMaterial[] = { 0.6f,0.6f,0.6f,1.0f }; |
|
|
|
float lightPos[] = {0.0f,1.5f,-3.0f,1.0f}; |
|
|
|
float spotLightDirection[] = {0.0f, -1.0f, 0.0f, 1.0f}; |
|
|
|
float spotLightCutoff = 15.0f; |
|
|
|
float lightPos[] = {0.0f,1.5f,-3.0f,0.0f}; |
|
|
|
float spotLightDirection[] = {0.0f, -1.0f, 0.0f, 64.0f};//°Ñ×îºóһλ¸Ä³É......
|
|
|
|
float spotLightCutoff = 30.0f; |
|
|
|
float specularLightColor[] = { 1.0f,1.0f,1.0f,1.0f }; |
|
|
|
float specularMaterial[] = { 1.0f,1.0f,1.0f,1.0f }; |
|
|
|
float eyePos[] = { 0.0f,0.0f,0.0f }; |
|
|
|