Update PostProcessing.cpp

This commit is contained in:
Astazium 2026-09-19 00:39:08 +03:00 • committed by GitHub
parent ff77912f33
commit 68ced64a11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
); );