Merge pull request #102133 from DarioSamo/particles-clear-color-fix

Fix framebuffer clear for particle collider heightfield.
This commit is contained in:
Thaddeus Crews 2025-01-28 16:08:59 -06:00
commit a013481b09
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -2862,7 +2862,7 @@ void RenderForwardClustered::_render_particle_collider_heightfield(RID p_fb, con
{
//regular forward for now
RenderListParameters render_list_params(render_list[RENDER_LIST_SECONDARY].elements.ptr(), render_list[RENDER_LIST_SECONDARY].element_info.ptr(), render_list[RENDER_LIST_SECONDARY].elements.size(), false, pass_mode, 0, true, false, rp_uniform_set);
_render_list_with_draw_list(&render_list_params, p_fb);
_render_list_with_draw_list(&render_list_params, p_fb, RD::DRAW_CLEAR_ALL);
}
RD::get_singleton()->draw_command_end_label();
}