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
54 // const auto& items = fetchedItems[0];54 // const auto& items = fetchedItems[0];
55 const auto& items = fetchedItems.get0();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 // Fetch the current frame stacks from all the stages61 // Fetch the current frame stacks from all the stages
60 const auto& currentStageFrames = lightingStageInputs.get0();62 const auto& currentStageFrames = lightingStageInputs.get0();
61 const auto& lightFrame = currentStageFrames[0];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 // Prepare objects shared by several jobs94 // Prepare objects shared by several jobs
93 const auto deferredFrameTransform = task.addJob<GenerateDeferredFrameTransform>("DeferredFrameTransform");95 const auto deferredFrameTransform = task.addJob<GenerateDeferredFrameTransform>("DeferredFrameTransform");
94 const auto lightingModel = task.addJob<MakeLightingModel>("LightingModel");
95 96
96 // Filter zones from the general metas bucket97 // Filter zones from the general metas bucket
97 // const auto zones = task.addJob<ZoneRendererTask>("ZoneRenderer", metas);98 // 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