Blender Git Commit Log

Git Commits -> Revision 33ff463

June 4, 2021, 00:34 (GMT)
EEVEE: GBuffer: Fix undefined behavior

When evaluating surfaces, the deferred passes needs to sample the
depth buffer. But it also test against the stancil buffer.

Moreover the sampler needs to be a 2D sampler which is not the case
for cubemaps and texture2Darrays.

To overcome this we simply copy the gbuffer depth to another
temp texture using framebuffer blitting.

Commit Details:

Full Hash: 33ff463ea1804ea080f733f690a39702ed88e1ec
Parent Commit: 7d3f65a
Lines Changed: +25, -17

2 Modified Paths:

/source/blender/draw/engines/eevee/eevee_shading.cc (+6, -15) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.hh (+19, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021