We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On https://webgl2fundamentals.org/webgl/lessons/webgl-less-code-more-fun.html, one of the example gl.vertexAttributePointer() calls, the one for a_texcoordLoc, is missing the boolean "normalized" param:
gl.vertexAttributePointer()
a_texcoordLoc
// Setup all the buffers and attributes (assuming you made the buffers already) ... gl.vertexAttribPointer(a_positionLoc, positionNumComponents, gl.FLOAT, false, 0, 0); ... gl.vertexAttribPointer(a_normalLoc, normalNumComponents, gl.FLOAT, false, 0, 0); ... gl.vertexAttribPointer(a_texcoordLoc, texcoordNumComponents, gl.FLOAT, 0, 0);
The text was updated successfully, but these errors were encountered:
thanks! fixed 5110106
Sorry, something went wrong.
No branches or pull requests
On https://webgl2fundamentals.org/webgl/lessons/webgl-less-code-more-fun.html, one of the example
gl.vertexAttributePointer()
calls, the one fora_texcoordLoc
, is missing the boolean "normalized" param:The text was updated successfully, but these errors were encountered: