Implemented eroder.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user