diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2021-03-05 22:32:54 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-03-08 19:25:16 +0300 |
commit | 6842c549bb3f976fc4891d2e6f7469b3705655f5 (patch) | |
tree | b52c512d30878d1dfbc651ddc1b84d955c6860ac /source/blender/draw/engines/eevee/shaders/bsdf_sampling_lib.glsl | |
parent | ba75ea8012084aa84ba8c9ac088b88a8dcf4fb21 (diff) |
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.
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/bsdf_sampling_lib.glsl')
0 files changed, 0 insertions, 0 deletions