Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

make_shadow

make_shadow


Description

Makes the base below the 3D elevation map.

Usage

make_shadow(heightmap, basedepth, shadowwidth, color, shadowcolor)

Arguments

heightmap

A two-dimensional matrix, where each entry in the matrix is the elevation at that point. All points are assumed to be evenly spaced.

basedepth

Default 'grey20'.

shadowwidth

Default '50'. Shadow width.


rayshader

Create Maps and Visualize Data in 2D and 3D

v0.24.10
GPL-3
Authors
Tyler Morgan-Wall
Initial release
2021-04-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.