use of io.xol.chunkstories.api.rendering.textures.Texture in project chunkstories by Hugobros3.
the class WorldRendererImplementation method renderWorldInternal.
protected void renderWorldInternal(RenderingInterface renderingInterface) {
this.renderingGraph.render(renderingInterface);
Texture finalBuffer = this.renderingGraph.getRenderPass("forward").resolvedOutputs.get("shadedBuffer");
if (finalBuffer != null && finalBuffer instanceof Texture2DRenderTargetGL) {
this.averageLuma.computeAverageLuma((Texture2DRenderTargetGL) finalBuffer);
}
}
Aggregations