forked from bartvdbraak/blender
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:
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user