Apress Access

Beginning WebGL for HTML5

By Brian Danchilla

  • eBook Price: $31.99
Buy eBook Buy Print Book
Beginning WebGL for HTML5 quickly gets you up to speed with WebGL and shaders within the browser. You'll learn techniques, frameworks, and tools that will enable increased productivity, better rendering performance, and enhanced realism.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-3996-3
  • 356 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: September 4, 2012
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • HTML5 Quick Markup Reference
  • Practical Web Design for Absolute Beginners
  • Beginning Backdrop CMS
Full Description

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

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

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. JavaScript Quick Syntax Reference


      View Book

    2. Beginning HTML5 and CSS3


      View Book

    3. User Experience Innovation


      View Book

    4. Beginning JavaScript with DOM Scripting and Ajax


      View Book