Blender Git Loki

Git Commits -> Revision 7c37355

Revision 7c37355 by Jeroen Bakker (master)
October 7, 2020, 15:26 (GMT)
Fix T81254: Incorrect calculation of EEVEE Transmittance Volumetrics

Regular rendering uses a custom blend mode, but render passes renders to
2 separate textures. This wasn't configured correctly inside the
fragment shaders. This patch adds a switch to configure the fragment
shader with the correct attachments.

Backport to Blender 2.83.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D9038

Commit Details:

Full Hash: 7c373555fd5de16905f52f0b60d46434ea3cbac6
Parent Commit: afab33e
Lines Changed: +23, -13

6 Modified Paths:

/source/blender/draw/engines/eevee/eevee_private.h (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+11, -7) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+2, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_accum_frag.glsl (+2, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_resolve_frag.glsl (+5, -0) (Diff)
/source/blender/draw/tests/shaders_test.cc (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021