RodenLuo / cpp_questions

0 stars 0 forks source link

glVertexAttribPointer normalized? #3

Open RodenLuo opened 3 years ago

RodenLuo commented 3 years ago

The next argument specifies if we want the data to be normalized. If we're inputting integer data types (int, byte) and we've set this to GL_TRUE, the integer data is normalized to 0 (or -1 for signed data) and 1 when converted to float. This is not relevant for us so we'll leave this at GL_FALSE.