Copyright VirtualSim 2004-2020 - All rights reserved
Hillshading
Hill shading algorithm paint apply a brightness to each elevation plot according to general ambient light, sun position regarding the two opposite corners and the altitude above the terrain.
The formula compute the angle between the normal of the elevation area and the vector pointing to the sun. The smaller the angle, the brighter the plot.
Occultation is not taken into account. There is no shadow, even if the sun is set as low altitude.