mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
pass in render_info to _fill_instance_data for alpha to fix overdraw call count
This commit is contained in:
parent
96be44c0ec
commit
3388a4a360
@ -1749,7 +1749,7 @@ void RenderForwardClustered::_render_scene(RenderDataRD *p_render_data, const Co
|
||||
int *render_info = p_render_data->render_info ? p_render_data->render_info->info[RS::VIEWPORT_RENDER_INFO_TYPE_VISIBLE] : (int *)nullptr;
|
||||
_fill_instance_data(RENDER_LIST_OPAQUE, render_info);
|
||||
_fill_instance_data(RENDER_LIST_MOTION, render_info);
|
||||
_fill_instance_data(RENDER_LIST_ALPHA);
|
||||
_fill_instance_data(RENDER_LIST_ALPHA, render_info);
|
||||
|
||||
RD::get_singleton()->draw_command_end_label();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user