mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 13:04:05 +09:00
fluid worldgen
This commit is contained in:
@@ -744,7 +744,7 @@ internal class TerragenTest(val params: TerragenParams) : NoiseMaker {
|
||||
it.setFalloff(0.0)
|
||||
}
|
||||
|
||||
val caveBlockageFractal0 = ModuleFractal().also {
|
||||
val caveBlockageFractal = ModuleFractal().also {
|
||||
it.setType(ModuleFractal.FractalType.RIDGEMULTI)
|
||||
it.setAllSourceBasisTypes(ModuleBasisFunction.BasisType.GRADIENT)
|
||||
it.setAllSourceInterpolationTypes(ModuleBasisFunction.InterpolationType.QUINTIC)
|
||||
@@ -753,11 +753,6 @@ internal class TerragenTest(val params: TerragenParams) : NoiseMaker {
|
||||
it.seed = seed shake caveBlockageMagic
|
||||
}
|
||||
|
||||
val caveBlockageFractal = ModuleCombiner().also { // 0: air, 1: rock
|
||||
it.setType(ModuleCombiner.CombinerType.MULT)
|
||||
it.setSource(0, caveBlockageFractal0)
|
||||
}
|
||||
|
||||
// will only close-up deeper caves. Shallow caves will be less likely to be closed up
|
||||
val caveBlockageAttenuate = ModuleCombiner().also {
|
||||
it.setType(ModuleCombiner.CombinerType.MULT)
|
||||
|
||||
Reference in New Issue
Block a user