Beginning WebGL for HTML5

Front Cover
Apress, Aug 28, 2012 - Computers - 356 pages

Beginning WebGL for HTML5 gets you rapidly up to speed with WebGL, a powerful new graphics language within the browser. You'll render realistic scenes with advanced lighting models, shadows, blending and textures. You'll also use mathematics to model fractals and particle systems. Going beyond that, Beginning WebGL for HTML5 presents advanced vertex and fragment shader usage for creating stunning, top-end results.

You'll benefit from using modern frameworks to rapidly develop complex scenes, and make use of many tools to help improve rendering performance and debugging. Beginning WebGL for HTML5 builds your critical WebGL development skills while being enjoyable at each step of the way.

  • Quickly get up to speed with WebGL
  • Render realistic scenes
  • Work faster with frameworks
  • Improve rendering performance

What you’ll learn
  • A scene setup and rendering refresher
  • Advanced GLSL usages
  • Rendering realistic scenes with lighting, blending, reflections, shadows and more
  • The current state of WebGL mobile support
  • Performance optimizations
  • Enhancing productivity by using existing frameworks and loading models
Who this book is for

Beginning WebGL for HTML5 is for the graphics enthusiast who is ready to bring their skillset to the next level and create more realistic, beautiful scenes. Beginning WebGL for HTML5 is a great choice for someone with existing OpenGL or Canvas 2D knowledge wanting to transition to WebGL. It is an excellent choice for those wanting to have high performance graphics coded in minimal time.

Table of Contents
  1. Setting The Scene
  2. Shaders 101
  3. Textures and Lighting
  4. Increasing Realism
  5. Physics
  6. Fractals, Height Maps, and Particle Systems
  7. Three.js Framework
  8. Productivity Tools
  9. Debugging and Performance
  10. Effects, Tips and Tricks
  11. Afterword: The Future of WebGL
  12. Appendix A: Essential HTML5 and JavaScript
  13. Appendix B: Graphics Refresher
  14. Appendix C: WebGL Spec. Odds and Ends
  15. Appendix D: Additional Resources

What people are saying - Write a review

We haven't found any reviews in the usual places.

Other editions - View all

About the author (2012)

Brian Danchilla is a freelance PHP and Java developer and author. Danchilla is the coauthor of Pro PHP Programming, a contributing author to HTML 5 Games Most Wanted, and technical reviewer of HTML 5 Animation with JavaScript. He has worked with OpenGL for several years and has a passion for graphics, art and mathematics. WebGL is the great new cross platform, cross device way to program 3D graphics and so naturally, he has been drawn to it. His other interests include number theory and playing guitar.