- Change shadowmap resolution from 1024 to 128

This commit is contained in:
Magnus Norddahl 2017-06-03 21:19:34 +02:00
commit 265df4b797
4 changed files with 15 additions and 7 deletions

View file

@ -106,7 +106,7 @@ void FShadowMap::Update()
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 2, mNodesBuffer);
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 3, mLinesBuffer);
glViewport(0, 0, 1024, 1024);
glViewport(0, 0, SHADOWMAP_QUALITY, 1024);
GLRenderer->RenderScreenQuad();
const auto &viewport = GLRenderer->mScreenViewport;