ee.Terrain.hillshade

Computes a simple hillshade from a DEM.
UsageReturns
ee.Terrain.hillshade(input, azimuth, elevation)Image
ArgumentTypeDetails
inputImageAn elevation image, in meters.
azimuthFloat, default: 270The illumination azimuth in degrees from north.
elevationFloat, default: 45The illumination elevation in degrees.

Examples

Code Editor (JavaScript)

var elevation = ee.Image('NOAA/NGDC/ETOPO1').select('bedrock');
var exaggeration = 20;
var hillshade = ee.Terrain.hillshade(elevation.multiply(exaggeration));
Map.addLayer(hillshade, null, 'ETOPO1 Hillshade');