Blender Git Commit Log
Git Commits -> Revision 6206a30
Revision 6206a30 by Clément Foucault (eevee-rewrite, temp-eevee-gpencil-rewrite, viewport-compositor) July 19, 2021, 17:01 (GMT) |
EEVEE: GBuffer: Change layout This change the gbuffer layout to use more of the hardware to converting data back and forth. Normals are encoded as two 16 bits components and colors as R11G11B10F format. This was motivated by the need of better quality normals. The issue is that this increase the GBuffer size consequently. In order to balance this we chose to merge the refraction and Diffuse/SSS data to use the same buffer. This means we need to stochastically chose one of these layers (so noise appear). Given that Glass BSDFs are rarely mixed with Diffuse BSDFs, we think this is a good tradeoff. |
Commit Details:
Full Hash: 6206a30519effffdf49c97c02e858c25198fc690
Parent Commit: e3ff83a
Lines Changed: +227, -170
10 Modified Paths:
/source/blender/draw/engines/eevee/eevee_shading.cc (+24, -11) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.hh (+55, -24) (Diff)
/source/blender/draw/engines/eevee/eevee_wrapper.hh (+5, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_closure_lib.glsl (+15, -23) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_deferred_direct_frag.glsl (+14, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_gbuffer_lib.glsl (+43, -92) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_nodetree_eval_lib.glsl (+22, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_deferred_frag.glsl (+46, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_forward_frag.glsl (+1, -0) (Diff)
/source/blender/draw/intern/shaders/common_math_geom_lib.glsl (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.hh (+55, -24) (Diff)
/source/blender/draw/engines/eevee/eevee_wrapper.hh (+5, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_closure_lib.glsl (+15, -23) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_deferred_direct_frag.glsl (+14, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_gbuffer_lib.glsl (+43, -92) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_nodetree_eval_lib.glsl (+22, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_deferred_frag.glsl (+46, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_forward_frag.glsl (+1, -0) (Diff)
/source/blender/draw/intern/shaders/common_math_geom_lib.glsl (+2, -2) (Diff)