Blender Git Loki
Git Commits -> Revision 9957096
Revision 9957096 by Clément Foucault (master) March 10, 2021, 16:57 (GMT) |
EEVEE: ScreenSpaceReflections: Improve hit quality This changes the hitBuffer to store `ReflectionDir * HitTime, invPdf` just as the reference presentation. This avoids issues when the hit refinement produce a coordinate that does not land on the correct surface. We now store the pdf in the same texture and store it inversed so we can remove some ALU from the resolve shader. This also rewrite the resolve shader to not be vectorized to improve readability and scalability. |
Commit Details:
Full Hash: 9957096f35fcb9d63ae611464667638dcbfb6dd6
Parent Commit: 79bc496
Lines Changed: +190, -389
10 Modified Paths:
/source/blender/draw/engines/eevee/eevee_effects.c (+0, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+2, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+2, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_renderpasses.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+14, -15) (Diff)
/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+163, -351) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+0, -7) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+6, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/surface_lib.glsl (+0, -7) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+2, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+2, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_renderpasses.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+14, -15) (Diff)
/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+163, -351) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+0, -7) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+6, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/surface_lib.glsl (+0, -7) (Diff)