WebGL - introduction to attributes

In this episode, I give a brief introduction to GLSL attributes in WebGL.
Concepts:
  • getAttribLocation
  • vertexAttrib3f
  • attribute vec4 aPosition;

Resources:
  • https://github.com/davidwparker/programmingtil-webgl/tree/master/0014-intro-attributes
  • http://www.html5rocks.com/en/tutorials/webgl/shaders/
© programmingtil.com