Blender Git Loki

Git Commits -> Revision d25ec49

Revision d25ec49 by Clément Foucault (master)
May 12, 2018, 21:28 (GMT)
Eevee: Depht Of Field: Merge Scatter passes together.

This means only one texture to draw to and only one sprite per pixel.

The texture is twice as large and near and far planes are side by side.

The sprite choose the biggest coc to expand to and is redirected to the
area (layer) it belongs to.

The fragment shader discard every pixel that does not belong to the correct
layer.

Commit Details:

Full Hash: d25ec499d89daf200c37ed547c50b1706d1b3557
Parent Commit: 2dc5a84
Lines Changed: +57, -56

4 Modified Paths:

/source/blender/draw/engines/eevee/eevee_depth_of_field.c (+11, -29) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+2, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_frag.glsl (+25, -16) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_vert.glsl (+19, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021