summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneRenderer.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-12-17 12:13:19 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-12-17 12:13:19 +0000
commit467ef27cafa072bac1c9df633a99e33c0bbf0299 (patch)
tree47d6dc8cb57e26dad21568e48da9769007513961 /gfx/gl/sceneRenderer.h
parentBasic support for saving integer position buffer (diff)
downloadilt-467ef27cafa072bac1c9df633a99e33c0bbf0299.tar.bz2
ilt-467ef27cafa072bac1c9df633a99e33c0bbf0299.tar.xz
ilt-467ef27cafa072bac1c9df633a99e33c0bbf0299.zip
Use a separate framebuffer for illumination phase
Diffstat (limited to 'gfx/gl/sceneRenderer.h')
-rw-r--r--gfx/gl/sceneRenderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/sceneRenderer.h b/gfx/gl/sceneRenderer.h
index 7f72d76..c935f93 100644
--- a/gfx/gl/sceneRenderer.h
+++ b/gfx/gl/sceneRenderer.h
@@ -24,7 +24,7 @@ protected:
ScreenAbsCoord size;
GLuint output;
- glFrameBuffer gBuffer;
+ glFrameBuffer gBuffer, gBufferIll;
glTexture gPosition, gNormal, gAlbedoSpec, gIllumination;
glRenderBuffer depth;