BGE fix [#35472] Sun variance shadows does not work in game engine

The game engine had depth testing enabled when blurring the shadows which caused the blurring to not work properly.
This commit is contained in:
Daniel Stokes 2013-07-23 00:52:49 +00:00
parent c49a9c25fc
commit f7037737f3

@ -989,6 +989,8 @@ void GPU_framebuffer_blur(GPUFrameBuffer *fb, GPUTexture *tex, GPUFrameBuffer *b
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glDisable(GL_DEPTH_TEST);
GPU_texture_bind(tex, 0);
/* Drawing quad */