// Continent generation configuration file
// These values can be changed, with adverse affects to the way the continent generates
{
	// General
	"enabled": true,
	"updatePeriod": 1,
	"flat": false,
	"erosion": true, // Whether to erode or not
	"landAmplitude": 0.2, // scale factor For the continent map above ocean level
	"oceanAmplitude": 0.6, // scale factor For the continent map below ocean level
	"biomeDeviationConst": 0.09, // scales the ammount Of deviation that mountain ranges have
	"sampleSpacing": 32, // grid spacing Of component map samples (must be power Of two)

	// Continent Map (determines the rough shape of the continent, where land and sea are)
	"continentMap": {
		"initialDeviation": 0.1, // initial vertical deviation (% Of width)
		"deviationDecrease": 1.1, // roughness (0.0 = no deviation, 2.0 = 100% deviation)
		"zoom": 3, // how many iterations the deviation Is Not decreased"    
		"offset": 0.8 // offset that makes the continent larger (% Of initial deviation)
	},
	// Biome Map (determines where mountain ranges, foothills, and plains are located)
	"biomeMap": {
		"initialDeviation": 1.0, // initial vertical deviation
		"deviationDecrease": 0.0, // roughness (% decrease In deviation per iteration)
		"zoom": 1 // how many iterations the deviation Is Not decreased
	},
	// Terrain Map (the final terrain mesh generation, incorperating the continent And biome maps)
	"terrainMap": {
		"initialDeviation": 0.0625, // initial vertical deviation (% Of width)
		"deviationDecrease": 1.0 // roughness (% decrease In deviation per iteration)
	},
	// Mountain configuration
	"mountains": {
		"biomeAmplitude": 100.0, // how high the mountains are raised above the continental shelf
		"biomeShift": 0.0, // shifts the range that Is selected from the biome map
		"biomeWidth": 0.05, // the range that Is selected from the biome map
		"continentShift": 0.0, // shifts the elevation that ocean To land transition takes place
		"continentWidth": 0.5 // the range Of ocean To land transition For mountain ranges
	},
	// Biome differentiation (from the biomeMap) -1.......0.......1
	// {the center of the biome; the range of the biome (+ and -) from the center;}
	"biomes": {
		"plains": {
			"center": -0.8,
			"range": 0.2
		},
		"forest": {
			"center": -0.4,
			"range": 0.2
		},
		"mountains": {
			"center": 0.0,
			"range": 0.1
		},
		"foothills": { // if not in mountains, then foothills will be checked (order is important)
			"center": 0.0,
			"range": 0.2
		},
		"tiaga": {
			"center": 0.4,
			"range": 0.2
		},
		"tundra": {
			"center": 0.8,
			"range": 0.2
		}
	}
}
