##  hillshade  â

A ` hillshade ` style layer renders digital elevation model (DEM) data on the
client-side. The implementation only supports [ Mapbox Terrain RGB
](https://docs.mapbox.com/help/how-mapbox-works/mapbox-data/#mapbox-terrain-
rgb) and Mapzen Terrarium tiles.

This map of Mount Shasta uses a high value for the [ ` hillshade-exaggeration
` ](/style-spec/reference/layers/#paint-hillshade-hillshade-exaggeration)
paint property to apply an intense shading effect.

###  hillshade-accent-color  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
color ](/style-spec/reference/types/#color) .  Defaults to ` "#000000" ` .
Supports  [ smooth-ramp  ` interpolate ` ](/style-
spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

The shading color used to accentuate rugged terrain like sharp cliffs and
gorges.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.43.0  |  >= 6.0.0  |  >= 4.0.0   
  
###  hillshade-emissive-strength  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) greater than or equal to ` 0 ` .
Units in  intensity  .  Defaults to ` 0 ` .  _Requires_ lights  .  Supports  [
smooth-ramp  ` interpolate ` ](/style-spec/reference/expressions/#interpolate)
expressions.  opacity  Transitionable.

Controls the intensity of light emitted on the source features.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 3.0.0  |  >= 11.0.0  |  >= 11.0.0   
  
###  hillshade-exaggeration  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) between ` 0 ` and ` 1 `
inclusive  .  Defaults to ` 0.5 ` .  Supports  [ smooth-ramp  ` interpolate `
](/style-spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

Intensity of the hillshade

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.43.0  |  >= 6.0.0  |  >= 4.0.0   
  
###  hillshade-highlight-color  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
color ](/style-spec/reference/types/#color) .  Defaults to ` "#FFFFFF" ` .
Supports  [ smooth-ramp  ` interpolate ` ](/style-
spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

The shading color of areas that faces towards the light source.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.43.0  |  >= 6.0.0  |  >= 4.0.0   
  
###  hillshade-illumination-anchor  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
enum ](/style-spec/reference/types/#enum) .  One of  ` "map" ` , ` "viewport"
` .  Defaults to ` "viewport" ` .

Direction of light source when map is rotated.

` "map" ` :

    

The hillshade illumination is relative to the north direction.

` "viewport" ` :

    

The hillshade illumination is relative to the top of the viewport.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.43.0  |  >= 6.0.0  |  >= 4.0.0   
  
###  hillshade-illumination-direction  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) between ` 0 ` and ` 359 `
inclusive  .  Defaults to ` 335 ` .  Supports  [ smooth-ramp  ` interpolate `
](/style-spec/reference/expressions/#interpolate) expressions.

The direction of the light source used to generate the hillshading with 0 as
the top of the viewport if ` hillshade-illumination-anchor ` is set to `
viewport ` and due north if ` hillshade-illumination-anchor ` is set to ` map
` and no 3d lights enabled. If ` hillshade-illumination-anchor ` is set to `
map ` and 3d lights enabled, the direction from 3d lights is used instead.