# NOT RUN {
#Here we produce a ambient occlusion map of the `montereybay` elevation map.
# }
# NOT RUN {
amb = ambient_shade(heightmap = montereybay)
plot_map(amb)
# }
# NOT RUN {
#We can increase the distance to look for surface intersections `maxsearch`
#and the density of rays sent out around the point `sunbreaks`.
# }
# NOT RUN {
amb = ambient_shade(heightmap = montereybay,sunbreaks=24,maxsearch=50)
plot_map(amb)
# }
Run the code above in your browser using DataLab