Learn R Programming

rayshader (version 0.5.1)

make_shadow: make_shadow

Description

Makes the base below the 3D elevation map.

Usage

make_shadow(rows, cols, basedepth, shadowwidth, color, shadowcolor)

Arguments

rows

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

cols

Default `0`.

basedepth

Default `grey20`.

shadowwidth

Default `50`. Shadow width.