diff options
Diffstat (limited to 'source/blender/draw/modes/object_mode.c')
-rw-r--r-- | source/blender/draw/modes/object_mode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c index 25c1492795b..05a915185df 100644 --- a/source/blender/draw/modes/object_mode.c +++ b/source/blender/draw/modes/object_mode.c @@ -2732,6 +2732,7 @@ static void DRW_shgroup_lightprobe(OBJECT_Shaders *sh_data, int outline_id = shgroup_theme_id_to_outline_id(theme_id, ob->base_flag); uint cell_count = prb->grid_resolution_x * prb->grid_resolution_y * prb->grid_resolution_z; DRWShadingGroup *grp = DRW_shgroup_create(sh_data->lightprobe_grid, psl->lightprobes); + DRW_shgroup_uniform_block(grp, "globalsBlock", G_draw.block_ubo); DRW_shgroup_uniform_int_copy(grp, "outlineId", outline_id); DRW_shgroup_uniform_vec3_copy(grp, "corner", corner); DRW_shgroup_uniform_vec3_copy(grp, "increment_x", increment[0]); |