rock vein

This commit is contained in:
minjaesong
2023-11-15 14:58:42 +09:00
parent 996359c9c7
commit 95977050bf
3 changed files with 37 additions and 9 deletions

View File

@@ -133,6 +133,7 @@ class Oregen(world: GameWorld, private val caveAttenuateBiasScaledCache: ModuleC
it.setSource(orePerturb)
it.setScaleX(1.0 / xs)
it.setScaleZ(1.0 / xs)
it.setScaleY(1.0 / ys)
}

View File

@@ -172,6 +172,8 @@ data class TerragenParams(
val caveBlockageFractalFreq: Double = 8.88,
val caveBlockageSelectThre: Double = 1.40, // adjust cave cloing-up strength. Larger = more closing
val rockBandCutoffFreq: Double = 4.0,
// val oreCopperFreq: Double = 0.024, // adjust the "density" of the ore veins
// val oreCopperPower: Double = 0.01, // super-low value almost negates the depth element
// val oreCopperScale: Double = 0.505,
@@ -185,4 +187,5 @@ data class TerragenParams(
// 0.1 - 0.5
// ...
// 0.8 - 0.42
)
) {
}