The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Consolidate data into a single WebGL vertex array

Consolidate data into a single WebGL vertex array

5:44
In this lesson, we look at how to consolidate different data, such as position and color, into a single vertex array. This becomes more important as we keep adding attributes such as per-vertex data for lighting and textures. We will update the `stride` value in the `vertexAttribPointer` method to accommodate these changes.
Watch this lesson now
Avatar
egghead.io

In this lesson, we look at how to consolidate different data, such as position and color, into a single vertex array. This becomes more important as we keep adding attributes such as per-vertex data for lighting and textures. We will update the stride value in the vertexAttribPointer method to accommodate these changes.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?