public void render() {
		if (loading)
			return;
		updateScale();
		renderSky();

		Main.m.modeler.setHexColor(0xFFFFFFFF);

		renderTerrain(0);
		renderTerrain(1);
		if (Block.singleTerrainTexture)
			if (Main.m.modeler.started)
				Main.m.modeler.finish();

		Entity.renderEntities();
		Projectile.renderProjectiles();
		Collectible.renderCollectibles();
		Particle.renderParticles();

		Main.m.modeler.setHexColor(0xFFFFFFFF);
		renderTerrain(2);
		renderTerrain(3);
		if (Block.singleTerrainTexture)
			if (Main.m.modeler.started)
				Main.m.modeler.finish();

	}