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.


tylermorganwall/rayshader documentation built on Nov. 21, 2024, 8:11 a.m.