Shadows WIP

- create 2D texture (depthmap)
This commit is contained in:
Ayumiwii
2016-02-05 15:08:56 +01:00
parent 2cbeef4c69
commit 7f1016476b
11 changed files with 1812 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "Rendering/ShadowPassState.h"
ShadowPassState::ShadowPassState(GLuint frameBuffer)
{
GLERROR("---2");
BindFramebuffer(frameBuffer);
GLERROR("---3");
Enable(GL_DEPTH_TEST);
Enable(GL_CULL_FACE);
Disable(GL_BLEND);
}
ShadowPassState::~ShadowPassState()
{
}