Blender Git Loki

Git Commits -> Revision 45d3303

Revision 45d3303 by Clément Foucault (master)
May 15, 2021, 15:52 (GMT)
Fix T85845 EEVEE: Depth Of Field: Artifacts with slight out of focus

This was caused by the bokeh LUT being sampled outside the valid range.
But `texelFetch` is only valid if the sample actually exists. This lead to
undefined behavior.

The fix is to increase `DOF_MAX_SLIGHT_FOCUS_RADIUS` (which just offsets the
LUT along the X=Y axis) to avoid any sample outside the defined range.

Commit Details:

Full Hash: 45d3303ae42e0b563bd164148efa516f93261ba0
Parent Commit: f432b5c
Lines Changed: +1, -1

1 Modified Path:

/source/blender/draw/engines/eevee/shaders/effect_dof_lib.glsl (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021