Blender Git Commit Log

Git Commits -> Revision 98dd2a5

Revision 98dd2a5 by Clément Foucault (master)
September 25, 2017, 18:14 (GMT)
Eevee: Fix SSR in orthographic view.

The problem was that orthographic views can have hit position that are negative. Thus we cannot encode the hit in the sign of the Z component.

The workaround is to store the hit position in screenspace. But since we are using floating point render target, we are loosing quite a bit of precision.
TODO: use RGBA16 instead of RGBA16F. But that means encoding the pdf value somehow.

Commit Details:

Full Hash: 98dd2a518be52b7f94c3a6f9345f19a0aebb2284
Parent Commit: 00955d8
Lines Changed: +6, -5

3 Modified Paths:

/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+2, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021