diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-09-24 02:25:21 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-09-25 21:14:42 +0300 |
commit | 98dd2a518be52b7f94c3a6f9345f19a0aebb2284 (patch) | |
tree | 263c9cbb4b466782b133030e796bfe8b67e9f06f /source/blender/draw/DRW_engine.h | |
parent | 00955d8d7a2e17ee86767e5f3703d6c20f2602b8 (diff) |
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.
Diffstat (limited to 'source/blender/draw/DRW_engine.h')
0 files changed, 0 insertions, 0 deletions