trying to work on issue #15 and I'm stumped

This commit is contained in:
minjaesong
2019-01-13 23:51:04 +09:00
parent e926b0175f
commit eb404b7723
6 changed files with 60 additions and 50 deletions

View File

@@ -238,7 +238,7 @@ object IngameRenderer {
}
setCameraPosition(0f, 0f)
BlocksDrawer.drawWall(batch.projectionMatrix)
BlocksDrawer.drawWall(batch.projectionMatrix, fboRGB)
batch.inUse {
moveCameraToWorldCoord()
@@ -247,7 +247,7 @@ object IngameRenderer {
}
setCameraPosition(0f, 0f)
BlocksDrawer.drawTerrain(batch.projectionMatrix)
BlocksDrawer.drawTerrain(batch.projectionMatrix, fboRGB)
batch.inUse {
/////////////////
@@ -262,7 +262,7 @@ object IngameRenderer {
}
setCameraPosition(0f, 0f)
BlocksDrawer.drawFront(batch.projectionMatrix, false) // blue coloured filter of water, etc.
BlocksDrawer.drawFront(batch.projectionMatrix, false, fboRGB) // blue coloured filter of water, etc.
batch.inUse {
FeaturesDrawer.drawEnvOverlay(batch)