More open sectors
This commit is contained in:
@@ -504,7 +504,7 @@ public class World{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(state.hasSector() && state.getSector().preset == null){
|
if(state.hasSector() && state.getSector().preset == null){
|
||||||
int circleBlend = 7;
|
int circleBlend = 5;
|
||||||
//quantized angle
|
//quantized angle
|
||||||
float offset = state.getSector().rect.rotation + 90;
|
float offset = state.getSector().rect.rotation + 90;
|
||||||
float angle = Angles.angle(x, y, tiles.width/2, tiles.height/2) + offset;
|
float angle = Angles.angle(x, y, tiles.width/2, tiles.height/2) + offset;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
|||||||
public static float liqThresh = 0.64f, liqScl = 87f, redThresh = 3.1f, noArkThresh = 0.3f;
|
public static float liqThresh = 0.64f, liqScl = 87f, redThresh = 3.1f, noArkThresh = 0.3f;
|
||||||
public static int crystalSeed = 8, crystalOct = 2;
|
public static int crystalSeed = 8, crystalOct = 2;
|
||||||
public static float crystalScl = 0.9f, crystalMag = 0.3f;
|
public static float crystalScl = 0.9f, crystalMag = 0.3f;
|
||||||
|
public static float airThresh = 0.13f, airScl = 14;
|
||||||
|
|
||||||
Block[] terrain = {Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.yellowStone, Blocks.rhyolite, Blocks.carbonStone};
|
Block[] terrain = {Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.yellowStone, Blocks.rhyolite, Blocks.carbonStone};
|
||||||
|
|
||||||
@@ -130,7 +131,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
|||||||
|
|
||||||
tile.block = tile.floor.asFloor().wall;
|
tile.block = tile.floor.asFloor().wall;
|
||||||
|
|
||||||
if(Ridged.noise3d(seed + 1, position.x, position.y, position.z, 2, 14) > 0.14){
|
if(Ridged.noise3d(seed + 1, position.x, position.y, position.z, 2, airScl) > airThresh){
|
||||||
tile.block = Blocks.air;
|
tile.block = Blocks.air;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user