WebGL - How to do specular lighting

In this episode, I discuss how to compute specular lighting in WebGL.
  • Specular Lighting

Resources:
  • https://github.com/davidwparker/programmingtil-webgl/tree/master/0095-specular-lighting
  • https://en.wikipedia.org/wiki/Specularhighlight
  • http://ogldev.atspace.co.uk/www/tutorial19/tutorial19.html
© programmingtil.com