Loading...
Web

WebGL Test: Height Map

thHeightMap
In the process of learning HTML5 and WebGL, I wanted to produce an image in which the user has control of the light location. This image is generated using both a height map and a normal map(which has been previously generated by the height map in GIMP.) The user has the ability to control the light location, enable/disable specular lighting, enable/disable diffuse lighting, and enable/disable the shadow mapping.
Demo