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: CyberMew

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,667

    Thanks, I will try to have rows of weight[4] and...

    Thanks, I will try to have rows of weight[4] and index[4] then, as per your former suggestion. If that case, just to confirm with the following code, I should have a vec4 weight and vec4 index...
  2. Replies
    3
    Views
    1,667

    Headache with glVertexAttribPointer

    I need this in my shader

    attribute vec4 weight;
    attribute vec4 index;

    through this,

    glBindBuffer(GL_ARRAY_BUFFER, 0);
    glBindBuffer(GL_ARRAY_BUFFER, bufferId);...
Results 1 to 2 of 2