Shadow WIP

- DepthTexture working
This commit is contained in:
Ayumiwii
2016-02-05 17:29:53 +01:00
parent bbf6058c17
commit 6542d1b444
4 changed files with 25 additions and 16 deletions
+9
View File
@@ -7,6 +7,7 @@
#include "../Core/EventBroker.h"
#include "../Core/World.h"
#include "ShadowPassState.h"
#include "imgui/imgui.h"
//#include "ShadowPassState.h" // not created yet
@@ -45,6 +46,14 @@ private:
GLuint m_DepthFBO;
GLfloat m_NearPlane = -40.f;
GLfloat m_FarPlane = 80.f;
//GLfloat m_Left = -10.f;
//GLfloat m_Right = 10.f;
//GLfloat m_Bottom = -10.f;
//GLfloat m_Top = 10.f;
GLfloat m_LRBT[4] = { -40.f, 100.f, -50.f, 50.f };
};
#endif