Turns a matrix into a 3 band RGB raster. See also hillshader::matrix_to_raster

mb_rayshade_to_rgb(shaded, original)

Arguments

shaded

The input matrix, typically the output of a rayshader operation

original

The original raster from which matrix is derived

Value

A terra-raster layer