Saturday, October 26, 2013

Normal Mapping



I made a HTML5 shader using normal mapping: http://www.byronknoll.com/dragon.html.

I made this based on a demo by Jonas Wagner. I actually found some mistakes in the underlying math in Jonas Wagner's demo, which I fixed in my version.

I got the dragon model here. I rendered the dragon using Blender. Here is the texture and normal map:



I now have a gallery of the HTML5 demos I have made: http://www.byronknoll.com/html5.html

No comments: