Chapter 10. Advanced Techniques

At this point, you have all the information you need to create rich 3D applications with WebGL. However, we've only just scratched the surface of what's possible with the API! Creative use of shaders, textures, and vertex attributes can yield fantastic results. The possibilities are, literally, limitless! In this final chapter, we'll provide a few glimpses into some advanced WebGL techniques, and hopefully leave you eager to explore more on your own.

In this chapter, we'll learn the following topics:

  • Post-process effects
  • Point sprites
  • Normal mapping
  • Ray tracing in fragment shaders

Post-processing

Post-processing effects are the effects that are created by re-rendering the image of the scene with a shader that alters the ...

Get WebGL Beginner's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.