mirror of
https://github.com/lubosz/overte.git
synced 2025-04-15 09:08:55 +02:00
include spatialSelection in RenderFetchCullSortTask::Output
This commit is contained in:
parent
0e9da87549
commit
15656a0592
3 changed files with 7 additions and 5 deletions
libraries
render-utils/src
render/src/render
|
@ -60,6 +60,7 @@ RenderDeferredTask::RenderDeferredTask(RenderFetchCullSortTask::Output items) {
|
|||
const auto overlayOpaques = items[3];
|
||||
const auto overlayTransparents = items[4];
|
||||
const auto background = items[5];
|
||||
const auto spatialSelection = items[6];
|
||||
|
||||
// Prepare deferred, generate the shared Deferred Frame Transform
|
||||
const auto deferredFrameTransform = addJob<GenerateDeferredFrameTransform>("DeferredFrameTransform");
|
||||
|
@ -169,10 +170,10 @@ RenderDeferredTask::RenderDeferredTask(RenderFetchCullSortTask::Output items) {
|
|||
addJob<DebugAmbientOcclusion>("DebugAmbientOcclusion", debugAmbientOcclusionInputs);
|
||||
|
||||
|
||||
// Scene Octree Debuging job
|
||||
// Scene Octree Debugging job
|
||||
{
|
||||
// addJob<DrawSceneOctree>("DrawSceneOctree", spatialSelection);
|
||||
// addJob<DrawItemSelection>("DrawItemSelection", spatialSelection);
|
||||
addJob<DrawSceneOctree>("DrawSceneOctree", spatialSelection);
|
||||
addJob<DrawItemSelection>("DrawItemSelection", spatialSelection);
|
||||
}
|
||||
|
||||
// Status icon rendering job
|
||||
|
|
|
@ -56,5 +56,6 @@ RenderFetchCullSortTask::RenderFetchCullSortTask(CullFunctor cullFunctor) {
|
|||
const auto overlayTransparents = addJob<DepthSortItems>("DepthSortOverlayTransparent", filteredNonspatialBuckets[TRANSPARENT_SHAPE_BUCKET], DepthSortItems(false));
|
||||
const auto background = filteredNonspatialBuckets[BACKGROUND_BUCKET];
|
||||
|
||||
setOutput(Output{{ opaques, transparents, lights, overlayOpaques, overlayTransparents, background }});
|
||||
setOutput(Output{{
|
||||
opaques, transparents, lights, overlayOpaques, overlayTransparents, background, spatialSelection }});
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
class RenderFetchCullSortTask : public render::Task {
|
||||
public:
|
||||
using Output = std::array<render::Varying, 6>;
|
||||
using Output = std::array<render::Varying, 7>;
|
||||
using JobModel = ModelO<RenderFetchCullSortTask>;
|
||||
|
||||
RenderFetchCullSortTask(render::CullFunctor cullFunctor);
|
||||
|
|
Loading…
Reference in a new issue