mixins: remove extended visiblity maps
They ended up not being used on GPU, and the time spent calculating them noticibly slows down the client when resizing it.
This commit is contained in:
@@ -191,9 +191,9 @@ public abstract class RSSceneMixin implements RSScene
|
||||
if (tile != null)
|
||||
{
|
||||
if (tile.getPhysicalLevel() <= plane
|
||||
&& (renderArea[x - screenCenterX + MAX_DISTANCE][y - screenCenterZ + MAX_DISTANCE]
|
||||
|| tileHeights[z][x][y] - cameraY >= 2000
|
||||
|| isGpu))
|
||||
&& (isGpu
|
||||
|| renderArea[x - screenCenterX + DEFAULT_DISTANCE][y - screenCenterZ + DEFAULT_DISTANCE]
|
||||
|| tileHeights[z][x][y] - cameraY >= 2000))
|
||||
{
|
||||
tile.setDraw(true);
|
||||
tile.setVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user