More open sectors

This commit is contained in:
Anuken 2022-02-13 11:18:34 -05:00
parent 9647a24e3a
commit ca72541e4e
2 changed files with 3 additions and 2 deletions

View File

@ -504,7 +504,7 @@ public class World{
}
if(state.hasSector() && state.getSector().preset == null){
int circleBlend = 7;
int circleBlend = 5;
//quantized angle
float offset = state.getSector().rect.rotation + 90;
float angle = Angles.angle(x, y, tiles.width/2, tiles.height/2) + offset;

View File

@ -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 int crystalSeed = 8, crystalOct = 2;
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};
@ -130,7 +131,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
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;
}