Blender Git Loki
Git Commits -> Revision d638291
Revision d638291 by Clément Foucault (master) March 2, 2018, 17:34 (GMT) |
DRW: Refactor simple instancing. Instead of creating a new instancing shading group without attrib, we now have instancing calls. The benefits is that they can be culled. They can be used in conjuction with the standard and generate calls but shader must support it (which is generally not the case). We store a pointer to the actual count so that the number can be tweaked between redraw. This will makes multi layer rendering more efficient. |
Commit Details:
Full Hash: d63829117c21c0d926cf0a9df645c3ed5cd8057a
Parent Commit: 6239052
Lines Changed: +112, -110
14 Modified Paths:
/intern/gawain/gawain/gwn_batch.h (+0, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+1, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+4, -15) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+19, -32) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+4, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+3, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.h (+6, -0) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+39, -21) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+20, -17) (Diff)
/source/blender/draw/intern/DRW_render.h (+6, -2) (Diff)
/source/blender/draw/modes/object_mode.c (+4, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+1, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+4, -15) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+19, -32) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+4, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+3, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.h (+6, -0) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+39, -21) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+20, -17) (Diff)
/source/blender/draw/intern/DRW_render.h (+6, -2) (Diff)
/source/blender/draw/modes/object_mode.c (+4, -3) (Diff)