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
Chapter 1: Overview of WebGL
Chapter 2: Your First Step with WebGL
Chapter 3: Drawing and Transforming Triangles
Chapter 4: More transformations and Basic Animation
Chapter 5: Using Colors and Texture Images
Chapter 6: The OpenGL ES Shading Language (GLSL ES)
Chapter 7: Toward the 3D World
Chapter 8: Lighting Objects
Chapter 9: Hierarchical Objects
Chapter 10: Advanced Techniques
Appendices: A, B, C, D, E, F, G, H
Extras: extra examples
Download all examples
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