WebGL - Multiple attributes in GLSL shaders

In this episode, I discuss how to have multiple attributes in a GLSL shader with WebGL. I also discuss varying type.

Concepts:
* API: gl.disableVertexAttribArray
* Shaders: precision mediump float; varying
* Interpolation

Resources:
* https://github.com/davidwparker/programmingtil-webgl/tree/master/0026-multiple-attributes

© programmingtil.com