Blender Git Commit Log

Git Commits -> Revision 6842c54

Revision 6842c54 by Clément Foucault (master)
March 8, 2021, 16:25 (GMT)
EEVEE: SSRayTrace: Cleanup/Refactor

This is a major rewrite that improves the screen space raytracing
a little bit.

This also decouple ray preparation from raytracing to be reuse in other
part of the code.

This changes a few things:
- Reflections have lower grazing angle failure
- Reflections have less self intersection issues
- Contact shadows are now fully opaque (faster)

Unrelated but some self intersection / incorrect bad rays are caused by
the ray reconstruction technique used by the SSR. This is not fixed by
this commit but I added a TODO.

Commit Details:

Full Hash: 6842c549bb3f976fc4891d2e6f7469b3705655f5
Parent Commit: ba75ea8
Lines Changed: +237, -263

4 Modified Paths:

/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+37, -34) (Diff)
/source/blender/draw/engines/eevee/shaders/lights_lib.glsl (+16, -17) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+171, -209) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+13, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021