|
@ -188,8 +188,8 @@ INT WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _ |
|
|
float lightPos[] = { 1.0f, 3.0f, -0.8f,1.0f }; |
|
|
float lightPos[] = { 1.0f, 3.0f, -0.8f,1.0f }; |
|
|
float diffuseIntensity = 2.0f; |
|
|
float diffuseIntensity = 2.0f; |
|
|
|
|
|
|
|
|
float spotLightDirection[] = { 0.0f, -1.0f, 0.0f, 128.0f };//把最后一位改成......
|
|
|
|
|
|
float spotLightCutoff = 0.0f; |
|
|
|
|
|
|
|
|
float spotLightDirection[] = { 0.0f, -1.0f, 0.0f, 32.0f };//把最后一位改成......
|
|
|
|
|
|
float spotLightCutoff = 20.0f; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float specularLightColor[] = { 1.0f,1.0f,1.0f,1.0f }; |
|
|
float specularLightColor[] = { 1.0f,1.0f,1.0f,1.0f }; |
|
|