Added textures to maps
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 61ae52d5f1b61634dad1bf5f17f2ffbd
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
@ -4,4 +4,8 @@
|
||||
<height>100</height>
|
||||
<moisture min=".1" max=".5"/>
|
||||
<vegetationDensity min=".2" max=".5" />
|
||||
<textures>
|
||||
<texture src="grass" expr="0.5" />
|
||||
<texture src="sand" expr="clamp01(1 - (height - waterLevel) / (maxHeight - waterLevel) - 0.4) ^ 4" />
|
||||
</textures>
|
||||
</biome>
|
@ -1,4 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 69e9c08fb2f75174182f358acfd9e046
|
||||
timeCreated: 1431182540
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,5 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 64548912db7fa384bae6c01a19c19da8
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
12
Game/Assets/Data/Biomes/Mountain.xml
Normal file
12
Game/Assets/Data/Biomes/Mountain.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<biome>
|
||||
<name>Mountain</name>
|
||||
<height>500</height>
|
||||
<moisture min=".1" max=".3"/>
|
||||
<vegetationDensity min=".5" max=".9" />
|
||||
<textures>
|
||||
<texture src="mountain" expr="0.2" />
|
||||
<texture src="grass" expr="min(1 / (10 * steepness), (1 - ((height - waterLevel) / (maxHeight - waterLevel)))^14)" />
|
||||
<texture src="snow" expr="2 * ((height - waterLevel) / (maxHeight - waterLevel))^2" />
|
||||
</textures>
|
||||
</biome>
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<biome>
|
||||
<name>Mountain</name>
|
||||
<height>500</height>
|
||||
<moisture min=".1" max=".3"/>
|
||||
<vegetationDensity min=".5" max=".9" />
|
||||
</biome>
|
Reference in New Issue
Block a user