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,8 +64,11 @@ void FinalEngine::render(Depsgraph *depsgraph)
tasks.push_back(light_tasks_delegate_->skydome_task());
}
tasks.push_back(light_tasks_delegate_->simple_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());
render_task_delegate_->bind();

View File

@ -247,8 +247,11 @@ void ViewportEngine::render(Depsgraph *depsgraph, bContext *context)
tasks.push_back(light_tasks_delegate_->skydome_task());
}
tasks.push_back(light_tasks_delegate_->simple_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());
GPUFrameBuffer *view_framebuffer = GPU_framebuffer_active_get();