mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
Update PostProcessing.cpp
This commit is contained in:
parent
ff77912f33
commit
68ced64a11
1 changed files with 4 additions and 4 deletions
|
|
@ -159,12 +159,12 @@ void PostProcessing::renderDeferredShading(
|
||||||
|
|
||||||
gbuffer->bindBuffers();
|
gbuffer->bindBuffers();
|
||||||
|
|
||||||
auto& lightingEffect = assets.require<PostEffect>("deferred_lighting");
|
auto& effect = assets.require<PostEffect>("deferred_lighting");
|
||||||
auto& lightingShader = lightingEffect.use();
|
auto& shader = effect.use();
|
||||||
configureEffect(
|
configureEffect(
|
||||||
context,
|
context,
|
||||||
lightingEffect,
|
effect,
|
||||||
lightingShader,
|
shader,
|
||||||
timer,
|
timer,
|
||||||
camera
|
camera
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue