mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
fix gbuffer resizing
This commit is contained in:
parent
a0b8776477
commit
bcdb891321
2 changed files with 25 additions and 63 deletions
|
|
@ -29,13 +29,13 @@ private:
|
|||
uint height;
|
||||
|
||||
uint fbo;
|
||||
uint colorBuffer;
|
||||
uint positionsBuffer;
|
||||
uint normalsBuffer;
|
||||
uint emissionBuffer;
|
||||
uint depthBuffer;
|
||||
uint ssaoFbo;
|
||||
uint ssaoBuffer;
|
||||
uint colorBuffer = 0;
|
||||
uint positionsBuffer = 0;
|
||||
uint normalsBuffer = 0;
|
||||
uint emissionBuffer = 0;
|
||||
uint depthBuffer = 0;
|
||||
uint ssaoFbo = 0;
|
||||
uint ssaoBuffer = 0;
|
||||
|
||||
void createColorBuffer();
|
||||
void createPositionsBuffer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue