Basic working deferred rendering

This commit is contained in:
Tleety
2014-04-27 02:44:04 +02:00
parent 9c329145c4
commit 87cac66cd8
17 changed files with 344 additions and 325 deletions
+2 -1
View File
@@ -84,7 +84,6 @@ private:
glm::mat4 m_SunProjection;
GLuint m_DebugAABB;
GLuint m_ScreenQuad;
GLuint m_ShadowFrameBuffer;
GLuint m_ShadowDepthTexture;
@@ -95,6 +94,7 @@ private:
GLuint m_fb;
GLuint m_fDepthBuffer;
GLenum draw_bufs[2];
GLuint m_ScreenQuad;
std::shared_ptr<Camera> m_Camera;
@@ -114,6 +114,7 @@ private:
void CreateShadowMap(int resolution);
void FrameBufferTextures();
void DrawFBO();
void DrawFBOScene();
void BindFragDataLocation();
GLuint CreateQuad();