make_shadow: make_shadow

View source: R/make_shadow.R

make_shadowR 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.


rayshader documentation built on July 9, 2023, 7:11 p.m.