History

First alpha working version of outline

Olivier Prat committed 9 years ago

Commit 01a028c1 parent f36500a9 files · +260 −11Browse files

Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 9 files). Show all

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+4−0
@@ -169,6 +169,10 @@ void RenderDeferredTask::build(JobModel& task, const render::Varying& input, ren · 168 unmodified lines
169169 const auto toneMappingInputs = render::Varying(ToneMappingDeferred::Inputs(lightingFramebuffer, primaryFramebuffer));
170170 task.addJob<ToneMappingDeferred>("ToneMapping", toneMappingInputs);
171171
172+ // Draw outline
173+ const auto outlineInputs = DrawOutline::Inputs(deferredFramebuffer, outlinedFrameBuffer).hasVarying();
174+ task.addJob<DrawOutline>("DrawOutline", outlineInputs);
175+
172176 { // DEbug the bounds of the rendered items, still look at the zbuffer
173177 task.addJob<DrawBounds>("DrawMetaBounds", metas);
174178 task.addJob<DrawBounds>("DrawOpaqueBounds", opaques);