Blender Git Loki
Git Commits -> Revision 33ff463
Revision 33ff463 by Clément Foucault (eevee-rewrite, temp-eevee-gpencil-rewrite, viewport-compositor) 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