fluid multiplies themselves ?!

This commit is contained in:
Minjae Song
2018-12-17 22:39:19 +09:00
parent 8db2405232
commit 62319ba4d2
4 changed files with 73 additions and 58 deletions

View File

@@ -431,7 +431,7 @@ internal object BlocksDrawer {
// atlas. IngameRenderer must be modified so that fluid-draw call is separated from drawing tiles.
// The MUL draw mode can be removed from this (it turns out drawing tinted glass is tricky because of
// the window frame which should NOT be MUL'd)
val for_y_start = (WorldCamera.y.toFloat() / TILE_SIZE).floorInt()
val for_y_end = for_y_start + tilesBuffer.height - 1