Showing the changes to libraries/render-utils/src/RenderForwardTask.cpp (1 of 18 files). Show all
Unified · Split
| @@ -54,8 +54,10 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 53 unmodified lines | ||
| 54 | 54 | // const auto& items = fetchedItems[0]; |
| 55 | 55 | const auto& items = fetchedItems.get0(); |
| 56 | 56 | |
| 57 | + // Lighting model comes next, the big configuration of the view | |
| 58 | + const auto& lightingModel = inputs.get1(); | |
| 57 | 59 | |
| 58 | − const auto& lightingStageInputs = inputs.get1(); | |
| 60 | + const auto& lightingStageInputs = inputs.get2(); | |
| 59 | 61 | // Fetch the current frame stacks from all the stages |
| 60 | 62 | const auto& currentStageFrames = lightingStageInputs.get0(); |
| 61 | 63 | const auto& lightFrame = currentStageFrames[0]; |
| @@ -91,7 +93,6 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 29 unmodified lines | ||
| 91 | 93 | |
| 92 | 94 | // Prepare objects shared by several jobs |
| 93 | 95 | const auto deferredFrameTransform = task.addJob<GenerateDeferredFrameTransform>("DeferredFrameTransform"); |
| 94 | − const auto lightingModel = task.addJob<MakeLightingModel>("LightingModel"); | |
| 95 | 96 | |
| 96 | 97 | // Filter zones from the general metas bucket |
| 97 | 98 | // const auto zones = task.addJob<ZoneRendererTask>("ZoneRenderer", metas); |