WIP Make shadows visible for Storm delegate #80

Closed
Vasyl Pidhirskyi wants to merge 16 commits from Vasyl-Pidhirskyi/blender_bn:BLEN-469 into hydra-render

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 854c8210c2 - Show all commits

View File

@ -64,7 +64,10 @@ void FinalEngine::render(Depsgraph *depsgraph)
tasks.push_back(light_tasks_delegate_->skydome_task());
}
tasks.push_back(light_tasks_delegate_->simple_task());
tasks.push_back(light_tasks_delegate_->shadow_task());
if (hydra_scene_delegate_->shading_settings.use_storm_shadows)
{
tasks.push_back(light_tasks_delegate_->shadow_task());
}
}
tasks.push_back(render_task_delegate_->task());

View File

@ -247,7 +247,10 @@ void ViewportEngine::render(Depsgraph *depsgraph, bContext *context)
tasks.push_back(light_tasks_delegate_->skydome_task());
}
tasks.push_back(light_tasks_delegate_->simple_task());
tasks.push_back(light_tasks_delegate_->shadow_task());
if (hydra_scene_delegate_->shading_settings.use_storm_shadows)
{
tasks.push_back(light_tasks_delegate_->shadow_task());
}
}
tasks.push_back(render_task_delegate_->task());