Blender Git Commit Log

Git Commits -> Revision be2bc97

Revision be2bc97 by Jeroen Bakker (master)
February 21, 2020, 10:13 (GMT)
EEVEE: Render Passes

This patch adds new render passes to EEVEE. These passes include:

* Emission
* Diffuse Light
* Diffuse Color
* Glossy Light
* Glossy Color
* Environment
* Volume Scattering
* Volume Transmission
* Bloom
* Shadow

With these passes it will be possible to use EEVEE effectively for
compositing. During development we kept a close eye on how to get similar
results compared to cycles render passes there are some differences that
are related to how EEVEE works. For EEVEE we combined the passes to
`Diffuse` and `Specular`. There are no transmittance or sss passes anymore.
Cycles will be changed accordingly.

Cycles volume transmittance is added to multiple surface col passes. For
EEVEE we left the volume transmittance as a separate pass.

Known Limitations

* All materials that use alpha blending will not be rendered in the render
passes. Other transparency modes are supported.
* More GPU memory is required to store the render passes. When rendering
a HD image with all render passes enabled at max extra 570MB GPU memory is
required.

Implementation Details

An overview of render passes have been described in
https://wiki.blender.org/wiki/Source/Render/EEVEE/RenderPasses

Future Developments

* In this implementation the materials are re-rendered for Diffuse/Glossy
and Emission passes. We could use multi target rendering to improve the
render speed.
* Other passes can be added later
* Don't render material based passes when only requesting AO or Shadow.
* Add more passes to the system. These could include Cryptomatte, AOV's, Vector,
ObjectID, MaterialID, UV.

Reviewed By: Cl�ment Foucault

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

Commit Details:

Full Hash: be2bc97eba499c48e3856c8e5ec4d869e28b4d04
Parent Commit: 1f8f4c8
Lines Changed: +1931, -404

2 Added Paths:

/source/blender/draw/engines/eevee/shaders/shadow_accum_frag.glsl (+58, -0) (View)
/source/blender/draw/engines/eevee/shaders/volumetric_accum_frag.glsl (+11, -0) (View)

43 Modified Paths:

/release/scripts/startup/bl_ui/properties_view_layer.py (+86, -9) (Diff)
/source/blender/draw/CMakeLists.txt (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_bloom.c (+72, -10) (Diff)
/source/blender/draw/engines/eevee/eevee_data.c (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+8, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+9, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+14, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+627, -104) (Diff)
/source/blender/draw/engines/eevee/eevee_mist.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_occlusion.c (+8, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+71, -7) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+155, -55) (Diff)
/source/blender/draw/engines/eevee/eevee_renderpasses.c (+192, -40) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+41, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shadows.c (+89, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.c (+46, -64) (Diff)
/source/blender/draw/engines/eevee/eevee_temporal_sampling.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+89, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+33, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/default_frag.glsl (+2, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_bloom_frag.glsl (+4, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl (+1, -10) (Diff)
/source/blender/draw/engines/eevee/shaders/lights_lib.glsl (+32, -10) (Diff)
/source/blender/draw/engines/eevee/shaders/renderpass_postprocess_frag.glsl (+57, -20) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_diffuse.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_eevee_specular.glsl (+3, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_emission.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_glass.glsl (+3, -3) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_glossy.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_principled.glsl (+62, -35) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_refraction.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_subsurface_scattering.glsl (+1, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_translucent.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+27, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+30, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+51, -8) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+12, -7) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+5, -2) (Diff)
/source/blender/render/extern/include/RE_engine.h (+3, -2) (Diff)
/source/blender/render/intern/source/external_engine.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_result.c (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021