Blender Git Loki
Git Commits -> Revision ba75ea8
Revision ba75ea8 by Clément Foucault (master) March 8, 2021, 16:25 (GMT) |
EEVEE: Use Fullscreen maxZBuffer instead of halfres This removes the need for per mipmap scalling factor and trilinear interpolation issues. We pad the texture so that all mipmaps have pixels in the next mip. This simplifies the downsampling shader too. This also change the SSR radiance buffer as well in the same fashion. |
Commit Details:
Full Hash: ba75ea8012084aa84ba8c9ac088b88a8dcf4fb21
Parent Commit: 6afe2d3
Lines Changed: +184, -245
16 Modified Paths:
/source/blender/draw/engines/eevee/eevee_effects.c (+82, -94) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+11, -9) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+16, -19) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+4, -20) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+14, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl (+1, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+3, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_lib.glsl (+0, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_downsample_frag.glsl (+15, -10) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_minmaxz_frag.glsl (+17, -41) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+7, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl (+0, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+6, -14) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+1, -4) (Diff)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+6, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+11, -9) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+16, -19) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+4, -20) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+14, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl (+1, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+3, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_lib.glsl (+0, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_downsample_frag.glsl (+15, -10) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_minmaxz_frag.glsl (+17, -41) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+7, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl (+0, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+6, -14) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+1, -4) (Diff)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+6, -0) (Diff)