use of org.terasology.engine.rendering.opengl.fbms.DisplayResolutionDependentFbo in project Terasology by MovingBlocks.
the class WorldRendererImpl method initRenderingSupport.
private void initRenderingSupport() {
ScreenGrabber screenGrabber = new ScreenGrabber(context);
context.put(ScreenGrabber.class, screenGrabber);
displayResolutionDependentFbo = new DisplayResolutionDependentFbo(context.get(Config.class).getRendering(), screenGrabber, context.get(DisplayDevice.class));
context.put(DisplayResolutionDependentFbo.class, displayResolutionDependentFbo);
shaderManager.initShaders();
context.put(WorldRenderer.class, this);
context.put(RenderQueuesHelper.class, renderQueues);
context.put(RenderableWorld.class, renderableWorld);
}
Aggregations