Diffuse Lighting

This commit is contained in:
Harpie94
2024-03-26 11:23:18 +01:00
parent da18ae6547
commit a160af0f64
2 changed files with 4 additions and 4 deletions

View File

@@ -88,8 +88,8 @@ bool ApplicationClass::Initialize(int screenWidth, int screenHeight, HWND hwnd)
// Create and initialize the light object.
m_Light = new LightClass;
m_Light->SetDiffuseColor(1.0f, 1.0f, 1.0f, 1.0f);
m_Light->SetDirection(0.0f, 0.0f, 1.0f);
m_Light->SetDiffuseColor(1.0f, 0.0f, 0.0f, 1.0f);
m_Light->SetDirection(0.0f, 1.0f, 0.0f);
return true;
}