History

Shadows are completely working with settings on both pipeline

sam gateau committed 7 years ago

Commit 237fb4d1 parent 5a6f30b18 files · +284 −96Browse files

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

Unified · Split

libraries/render-utils/src/RenderForwardTask.cpp+3−2
@@ -54,8 +54,10 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 53 unmodified lines
5454 // const auto& items = fetchedItems[0];
5555 const auto& items = fetchedItems.get0();
5656
57+ // Lighting model comes next, the big configuration of the view
58+ const auto& lightingModel = inputs.get1();
5759
58− const auto& lightingStageInputs = inputs.get1();
60+ const auto& lightingStageInputs = inputs.get2();
5961 // Fetch the current frame stacks from all the stages
6062 const auto& currentStageFrames = lightingStageInputs.get0();
6163 const auto& lightFrame = currentStageFrames[0];
@@ -91,7 +93,6 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 29 unmodified lines
9193
9294 // Prepare objects shared by several jobs
9395 const auto deferredFrameTransform = task.addJob<GenerateDeferredFrameTransform>("DeferredFrameTransform");
94− const auto lightingModel = task.addJob<MakeLightingModel>("LightingModel");
9596
9697 // Filter zones from the general metas bucket
9798 // const auto zones = task.addJob<ZoneRendererTask>("ZoneRenderer", metas);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t