WebGL Programming Guide. Matsuda & Lea

Welcome

This web site acts as the primary location for the example code in the book as well as a place for us to provide updates and new materials as we get feedback.

This book covers the WebGL 1.0 API along with all related JavaScript functions. You will learn how HTML, JavaScript, and WebGL are related, how to set up and run WebGL applications, and how to incorporate sophisticated 3D program “shaders” under the control of JavaScript. The book details how to write vertex and fragment shaders, how to implement advanced rendering techniques such as per-pixel lighting and shadowing, and basic interaction techniques such as selecting 3D objects. Each chapter develops a number of working, fully functional WebGL applications and explains key WebGL features through these examples. After finishing the book, you will be ready to write WebGL applications that fully harness the programmable power of web browsers and the underlying graphics hardware.

Book examples by chapter

Full text example chapter: Chapter 3

Some useful links

Errata an updated list of mistakes

Publication date: July 2013

ISBN-10: 0321902920 | ISBN-13: 978-0321902924

From Amazon

From Addison-Wesley Professional directly

Kouichi Matsuda Rodger Lea

Contact us at: webgl.pg at gmail.com