diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2021-10-13 19:48:28 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-10-13 20:58:14 +0300 |
commit | d39cd851c0ca67dff975b1c447089d319ef0816f (patch) | |
tree | fd5a25fed2625aa5fd05b02590545f07a10eb264 /source/blender/gpu/shaders/material | |
parent | 98a62a5c088b18d5dd7d60e733c618d9c3db3a46 (diff) |
Fix T89777 EEVEE: Contact Shadows causes wrong shading in Reflection Plane
The planar reflections being rendered at the same resolution as the HiZ max
buffer, do not need any uv correction during raytracing.
However, the GTAO horizon buffer being at output resolution do need the
uv factors in order to match the pixels visible on screen. To avoid many
complication, we increase the size of the GTAO texture up to the hiz buffer
size. This way, if planar reflections need GTAO the texture is big enough.
We change the viewport of the GTAO framebuffer for the main view in order
to not have to modify Uvs in many places.
Diffstat (limited to 'source/blender/gpu/shaders/material')
0 files changed, 0 insertions, 0 deletions