danginsburg/opengles3-book

glVertexAttribDivisor

github-manu opened this issue · 1 comments

Book, page 171, top of the page, 1st paragraph
"If divisor equals 1, then the vertex attributes will be read once per primitive instance."
This doesn't explain the situation when divisor is larger than 1.
Spec 3.1, page 241:
"Otherwise, attributes advance once per divisor instances of the set(s) of vertices being rendered."

Agreed, the book should describe what happens when divisor is greater than one.