WebGL - Multiple textures toggle

In this episode, I discuss how to have multiple textures in WebGL and how to toggle between them.
Concepts:
  • Multiple Textures
  • Promises.
  • Note: at some point I'll push fully to npm-style dependencies. But for now, I'm going to just use older style includes.
  • Promise can/will replace signals as well.

Resources:
  • https://github.com/davidwparker/programmingtil-webgl/tree/master/0048-multiple-textures
View
© programmingtil.com