Implemented eroder.

This commit is contained in:
2015-03-23 21:17:09 +02:00
parent 68140b11a7
commit 76527c2619
30 changed files with 470 additions and 212 deletions

View File

@ -79,7 +79,7 @@ namespace TransportGame.MapViewer
// Draw elevation
else if (elevation)
{
float alpha = map[mapX, mapY]; // map height range is [0,1]
float alpha = map.Heights[mapX, mapY]; // map.Heights range is [0,1]
bitmap[x, y] = Color.Multiply(ElevationTerrainColor, alpha);
}