make_shadow {rayshader}R Documentation

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.


[Package rayshader version 0.19.2 Index]