Removing commented code.

This commit is contained in:
Faerbit 2014-12-15 12:55:48 +01:00
parent 36f7217288
commit cc93cf7259

View File

@ -204,11 +204,8 @@ void Graphics::render()
glm::mat4 depthBiasVP_middle = biasMatrix*depthViewProjectionMatrix_middle; glm::mat4 depthBiasVP_middle = biasMatrix*depthViewProjectionMatrix_middle;
glm::mat4 depthBiasVP_far = biasMatrix*depthViewProjectionMatrix_far; glm::mat4 depthBiasVP_far = biasMatrix*depthViewProjectionMatrix_far;
//lightingShader->setUniform("shadowMVP_near", depthBiasVP_near);
lightingShader->setTexture("shadowMap_near", depthTexture_near, 1); lightingShader->setTexture("shadowMap_near", depthTexture_near, 1);
//lightingShader->setUniform("shadowMVP_middle", depthBiasVP_middle);
lightingShader->setTexture("shadowMap_middle", depthTexture_middle, 2); lightingShader->setTexture("shadowMap_middle", depthTexture_middle, 2);
//lightingShader->setUniform("shadowMVP_far", depthBiasVP_far);
lightingShader->setTexture("shadowMap_far", depthTexture_far, 3); lightingShader->setTexture("shadowMap_far", depthTexture_far, 3);
// set fog Parameters // set fog Parameters