Bind shadow map texture for main.fp and sample from the shadowmap texture

This commit is contained in:
Magnus Norddahl 2017-03-02 19:10:57 +01:00
commit 0d1deddae5
3 changed files with 37 additions and 2 deletions

View file

@ -67,6 +67,8 @@ void FShadowMap::Update()
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 2, 0);
glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 3, 0);
GLRenderer->mBuffers->BindShadowMapTexture(16);
FGLDebug::PopGroup();
}