<div dir="ltr">I could not find documentation on the hillshade render type style. While it is rather self-explanatory, the multidirectional option could benefit from explanation. I am looking at the source here:<div><br></div><div><a href="http://qgis.org/api/2.18/qgshillshaderenderer_8cpp_source.html">http://qgis.org/api/2.18/qgshillshaderenderer_8cpp_source.html</a><br></div><div><br></div><div>and it points to</div><br><a href="http://pubs.usgs.gov/of/1992/of92-422/of92-422.pdf">http://pubs.usgs.gov/of/1992/of92-422/of92-422.pdf</a><br><br>which uses a weighted average of hillshadings from four fixed directions. The weight is squared sine of the difference between the aspect and each illumination azimuth, emphasizing the darker slopes. The qgis code seems to modify that a bit by making the four directions relative to the user defined azimuth.<br><br>Is this a correct understanding ?<div><br></div><div>I am thinking about simulating this with webgl based (Phong) shading by four directional lights.</div><div><br></div><div>-Andreas</div><div><br><div><span style="color:rgb(128,0,0);font-family:monospace,fixed;font-size:13px;white-space:pre-wrap;background-color:rgb(251,253,251)"><br></span></div><div><span style="color:rgb(128,0,0);font-family:monospace,fixed;font-size:13px;white-space:pre-wrap;background-color:rgb(251,253,251)"><br></span></div><div><span style="color:rgb(128,0,0);font-family:monospace,fixed;font-size:13px;white-space:pre-wrap;background-color:rgb(251,253,251)"><br></span></div></div></div>