Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Steven McGrath

Search: Search took 0.00 seconds.

  1. GL_MAX_VERTEX_ATTRIBS provides the number of...

    GL_MAX_VERTEX_ATTRIBS provides the number of distinct vertex attributes that can be read by your shader. It is not a limit on the number of of VAOs. In your case your only vertex attributes appear...
  2. In gl_DrawRangeElements, you appear to be...

    In gl_DrawRangeElements, you appear to be overrunning the length of your array. Your third argument, for 'end', should be one less than your fourth argument, for 'count'.
  3. There are two levels of buffering here. To keep...

    There are two levels of buffering here. To keep the objects separate, you may want separate vertex buffers (VBOs) for each, but this is not essential. The vertex array object (VAO) encapsulates...
Results 1 to 3 of 3