feat(core): add cave-generation and fog tuning to Configuration
This commit is contained in:
@@ -23,4 +23,18 @@ public sealed class Configuration
|
||||
public int WindowHeight { get; set; } = 720;
|
||||
|
||||
public int? Seed { get; set; } = null;
|
||||
|
||||
// -- Cave generation tuning --
|
||||
public float CaveNoiseFrequency { get; set; } = 0.03f;
|
||||
public float CaveNoiseThreshold { get; set; } = -0.3f;
|
||||
public int WormCellSize { get; set; } = 64;
|
||||
public int WormSpawnProbabilityPermille { get; set; } = 300;
|
||||
public int WormMaxLength { get; set; } = 80;
|
||||
public float WormMinRadius { get; set; } = 1.5f;
|
||||
public float WormMaxRadius { get; set; } = 3.5f;
|
||||
|
||||
// -- Cave lighting (fog-distance darkness) --
|
||||
public float CaveDarkStartY { get; set; } = 72f; // WorldConstants.SeaLevel + 8
|
||||
public float CaveDarkEndY { get; set; } = 32f; // WorldConstants.SeaLevel - 32
|
||||
public float CaveMinBrightness { get; set; } = 0.15f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user