mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
feat: shadows in fast pipeline & improve lights mix
This commit is contained in:
parent
30a0b81680
commit
e158b384fa
9 changed files with 62 additions and 25 deletions
|
|
@ -72,6 +72,7 @@ void PostProcessing::use(DrawContext& context, bool gbufferPipeline) {
|
|||
}
|
||||
context.setFramebuffer(gbuffer.get());
|
||||
} else {
|
||||
gbuffer.reset();
|
||||
refreshFbos(vp.x, vp.y);
|
||||
context.setFramebuffer(fbo.get());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue