diff --git a/enginecustom/Lightshaderclass.cpp b/enginecustom/Lightshaderclass.cpp index d615a75..c759fd3 100644 --- a/enginecustom/Lightshaderclass.cpp +++ b/enginecustom/Lightshaderclass.cpp @@ -33,14 +33,14 @@ bool LightShaderClass::Initialize(ID3D11Device* device, HWND hwnd) bool result; // Set the filename of the vertex shader. - error = wcscpy_s(vsFilename, 128, L"../Engine/light.vs"); + error = wcscpy_s(vsFilename, 128, L"./Light.vs"); if (error != 0) { return false; } // Set the filename of the pixel shader. - error = wcscpy_s(psFilename, 128, L"../Engine/light.ps"); + error = wcscpy_s(psFilename, 128, L"./Light.ps"); if (error != 0) { return false; diff --git a/enginecustom/applicationclass.cpp b/enginecustom/applicationclass.cpp index af6f3dd..1d92d99 100644 --- a/enginecustom/applicationclass.cpp +++ b/enginecustom/applicationclass.cpp @@ -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; }