Fix #120918: EEVEE-Next world volume on iGPU HD530 #120927

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:eevee/fix/120918 into main 2024-04-22 14:59:41 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -362,12 +362,12 @@ void VolumeModule::draw_prepass(View &main_view)
inst_.uniform_data.push_update();
DRW_stats_group_start("Volumes");
occupancy_fb_.bind();
inst_.pipelines.world_volume.render(main_view);
volume_view.sync(main_view.viewmat(), winmat_infinite);
if (inst_.pipelines.volume.is_enabled()) {
occupancy_fb_.bind();
inst_.pipelines.volume.render(volume_view, occupancy_tx_);
}
DRW_stats_group_end();