Blender Git Commit Log
Git Commits -> Revision 2c7f6db
Revision 2c7f6db by Clément Foucault (master) June 22, 2017, 01:51 (GMT) |
Eevee: Minmax Depth Pyramid. This commit introduce the computation of a depth pyramid containing min and max depth values of the original depth buffer. This is useful for Clustered Light Culling but also for raytracing on the depth buffer (SSR). It's also usefull to have to fetch higher mips in order to improve texture cache usage. As of now, 1st mip (highest res) is half the resolution of the depth buffer, but everything is already done to be able to make a fullres copy of the depth buffer in the 1st mip instead of downsampling. Also, the texture used is RG_32F which is a too much but enough to cover the 24bits of the depth buffer. Reducing the texture size would make things quite faster. |
Commit Details:
Full Hash: 2c7f6db8d1b2d2a0d59d5212899632ec838e86cc
Parent Commit: ed59d03
Lines Changed: +150, -9
1 Added Path:
/source/blender/draw/engines/eevee/shaders/effect_minmaxz_frag.glsl (+66, -0) (View)
5 Modified Paths:
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+63, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+12, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+6, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+63, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+12, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+6, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -0) (Diff)