Blender Git Commit Log
Git Commits -> Revision e0a0f1c
Revision e0a0f1c by Clément Foucault (tmp-overlay-engine) November 21, 2019, 16:25 (GMT) |
DRW: Fix an issue with instanced rendering and base_instance Batches that are meant to be drawn with instancing cannot use ModelMatrix indexing and must rely on the uniform (legacy) way. Using the BaseInstance indexing would shift the instance attributes received by the vertex shader which is not what we want in this case. |
Commit Details:
Full Hash: e0a0f1cbe0052402171a8de40eef005fd8e5c957
Parent Commit: 79beba2
Lines Changed: +23, -14
6 Modified Paths:
/source/blender/draw/engines/overlay/overlay_shader.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+5, -3) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+10, -6) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -1) (Diff)
/source/blender/draw/intern/shaders/common_view_lib.glsl (+3, -2) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+5, -3) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+10, -6) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -1) (Diff)
/source/blender/draw/intern/shaders/common_view_lib.glsl (+3, -2) (Diff)