Demo Code

The examples on this page use WebGL 1.0 to illustrate the basic rasterization pipeline. The code is heavily based on the WebGL Programming Guide by Kouichi Matsuda and Rodger Lea. You can find more information about the book and the source code on their webpage. The code posted here is with the generours permission by the authors.