make_shadow {rayshader}R Documentation

make_shadow

Description

Makes the base below the 3D elevation map.

Usage

make_shadow(
  heightmap,
  basedepth,
  shadowwidth,
  color,
  shadowcolor,
  offset = c(0, 0)
)

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.


[Package rayshader version 0.37.3 Index]