mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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();
|
||||
|
||||
auto& lightingEffect = assets.require<PostEffect>("deferred_lighting");
|
||||
auto& lightingShader = lightingEffect.use();
|
||||
auto& effect = assets.require<PostEffect>("deferred_lighting");
|
||||
auto& shader = effect.use();
|
||||
configureEffect(
|
||||
context,
|
||||
lightingEffect,
|
||||
lightingShader,
|
||||
effect,
|
||||
shader,
|
||||
timer,
|
||||
camera
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue