Showing the changes to libraries/render-utils/src/RenderForwardTask.cpp (1 of 5 files). Show all
Unified · Split
| @@ -64,16 +64,12 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 63 unmodified lines | ||
| 64 | 64 | // Extract opaques / transparents / lights / metas / overlays / background |
| 65 | 65 | const auto& opaques = items[RenderFetchCullSortTask::OPAQUE_SHAPE]; |
| 66 | 66 | const auto& transparents = items[RenderFetchCullSortTask::TRANSPARENT_SHAPE]; |
| 67 | − const auto& lights = items[RenderFetchCullSortTask::LIGHT]; | |
| 68 | 67 | const auto& metas = items[RenderFetchCullSortTask::META]; |
| 69 | − const auto& overlayOpaques = items[RenderFetchCullSortTask::OVERLAY_OPAQUE_SHAPE]; | |
| 70 | − const auto& overlayTransparents = items[RenderFetchCullSortTask::OVERLAY_TRANSPARENT_SHAPE]; | |
| 71 | 68 | const auto& overlaysInFrontOpaque = items[RenderFetchCullSortTask::LAYER_FRONT_OPAQUE_SHAPE]; |
| 72 | 69 | const auto& overlaysInFrontTransparent = items[RenderFetchCullSortTask::LAYER_FRONT_TRANSPARENT_SHAPE]; |
| 73 | − const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE]; | |
| 74 | − const auto& overlaysHUDTransparent = items[RenderFetchCullSortTask::LAYER_HUD_TRANSPARENT_SHAPE]; | |
| 75 | − | |
| 76 | − const auto& spatialSelection = fetchedItems.get1(); | |
| 70 | + // TODO: Re enable the rendering of the HUD overlayes | |
| 71 | + // const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE]; | |
| 72 | + // const auto& overlaysHUDTransparent = items[RenderFetchCullSortTask::LAYER_HUD_TRANSPARENT_SHAPE]; | |
| 77 | 73 | |
| 78 | 74 | // Lighting model comes next, the big configuration of the view |
| 79 | 75 | const auto& lightingModel = inputs[1]; |
| @@ -84,9 +80,7 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 4 unmodified lines | ||
| 84 | 80 | const auto currentStageFrames = lightingStageInputs.get0(); |
| 85 | 81 | const auto lightFrame = currentStageFrames[0]; |
| 86 | 82 | const auto backgroundFrame = currentStageFrames[1]; |
| 87 | − const auto& hazeFrame = currentStageFrames[2]; | |
| 88 | − const auto& bloomFrame = currentStageFrames[3]; | |
| 89 | − | |
| 83 | + | |
| 90 | 84 | const auto& zones = lightingStageInputs[1]; |
| 91 | 85 | |
| 92 | 86 | // First job, alter faded |