Blender Git Commit Log

Git Commits -> Revision 9412113

September 28, 2021, 13:03 (GMT)
Viewport Compositor: Support multiple render layers

This adds the new DRWRenderScene structure (and its sub structures) that
contains all the needed render passes for each scene present in the
compositor nodetree.

The scenes are rendered using a special option to avoid rendering overlays.

The render layer input to the GPUMaterial are now a separate structure and
a separate list of input handled by the compositor engine.

Rendering all scenes is the first thing done to avoir much trouble with

There are still issues like continuous rendering of TAA because the same
DRWData is used for all scenes.

Commit Details:

Full Hash: 9412113834750f694fe27cc3add73e9bfc687b8b
Parent Commit: 405f8ed
Lines Changed: +472, -33

14 Modified Paths:

/source/blender/blenkernel/intern/scene.c (+13, -0) (Diff)
/source/blender/draw/engines/compositor/compositor_engine.cc (+25, -7) (Diff)
/source/blender/draw/intern/draw_manager.c (+257, -2) (Diff)
/source/blender/draw/intern/draw_manager.h (+3, -0) (Diff)
/source/blender/draw/intern/draw_view_data.cc (+24, -0) (Diff)
/source/blender/draw/intern/draw_view_data.h (+3, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+35, -0) (Diff)
/source/blender/gpu/GPU_material.h (+17, -3) (Diff)
/source/blender/gpu/intern/gpu_codegen.cc (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+60, -19) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+6, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+15, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021