wip fbo refactor
parent
338d6c02bc
commit
a64ba98e51
|
@ -63,7 +63,7 @@ public class Ginger
|
|||
masterRenderer.renderScene(game.data.entities, game.data.normalMapEntities, game.data.flatTerrains, game.data.lights, game.data.camera, game.data.clippingPlane);
|
||||
ParticleMaster.renderParticles(game.data.camera);
|
||||
contrastFbo.unbindFBO();
|
||||
PostProcessing.doPostProcessing(contrastFbo.colorTexture);
|
||||
contrastFbo.handler.render(contrastFbo.colorTexture);
|
||||
if (game.data.handleGuis)
|
||||
{ renderOverlays(game); }
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public class Fbo
|
|||
boolean destroyed;
|
||||
Object lock = new Object();
|
||||
/* cool ginger feature which handles fbos once they need to be rendered */
|
||||
FboCallbackHandler handler;
|
||||
public FboCallbackHandler handler;
|
||||
/* Multisampled FBO objects */
|
||||
public int multisampledColorRenderBuffer;
|
||||
int multisampledDepthRenderBuffer;
|
||||
|
|
Loading…
Reference in New Issue