Merge pull request #71303 from clayjohn/ref-probe-crash
Only setup depth framebuffer properties when not rendering ReflectionProbes
This commit is contained in:
commit
7c2768c2f8
|
@ -1707,7 +1707,7 @@ void RenderForwardClustered::_render_scene(RenderDataRD *p_render_data, const Co
|
|||
|
||||
RD::get_singleton()->draw_command_end_label();
|
||||
|
||||
if (rb.is_valid()) {
|
||||
if (rb.is_valid() && !p_render_data->reflection_probe.is_valid()) {
|
||||
if (using_voxelgi) {
|
||||
depth_pass_mode = PASS_MODE_DEPTH_NORMAL_ROUGHNESS_VOXEL_GI;
|
||||
} else if (p_render_data->environment.is_valid()) {
|
||||
|
|
Loading…
Reference in New Issue