Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 9 files). Show all
Unified · Split
| @@ -169,6 +169,10 @@ void RenderDeferredTask::build(JobModel& task, const render::Varying& input, ren · 168 unmodified lines | |||
| 169 | const auto toneMappingInputs = render::Varying(ToneMappingDeferred::Inputs(lightingFramebuffer, primaryFramebuffer)); | 169 | const auto toneMappingInputs = render::Varying(ToneMappingDeferred::Inputs(lightingFramebuffer, primaryFramebuffer)); |
| 170 | task.addJob<ToneMappingDeferred>("ToneMapping", toneMappingInputs); | 170 | task.addJob<ToneMappingDeferred>("ToneMapping", toneMappingInputs); |
| 171 | 171 | ||
| 172 | // Draw outline | ||
| 173 | const auto outlineInputs = DrawOutline::Inputs(deferredFramebuffer, outlinedFrameBuffer).hasVarying(); | ||
| 174 | task.addJob<DrawOutline>("DrawOutline", outlineInputs); | ||
| 175 | |||
| 172 | { // DEbug the bounds of the rendered items, still look at the zbuffer | 176 | { // DEbug the bounds of the rendered items, still look at the zbuffer |
| 173 | task.addJob<DrawBounds>("DrawMetaBounds", metas); | 177 | task.addJob<DrawBounds>("DrawMetaBounds", metas); |
| 174 | task.addJob<DrawBounds>("DrawOpaqueBounds", opaques); | 178 | task.addJob<DrawBounds>("DrawOpaqueBounds", opaques); |