The commonly used Vertex Attribute Pointer Function is the standard glVertexAttribPointer
, however dispite supporting multiple types of
inputs, it should only be used for floats.
It will attempt to cast your value to float and then back to the original type which will likely result in broken values.
You should use glVertexAttribIPointer