Search:

Type: Posts; User: flecherouge

Search: Search took 0.00 seconds.

  1. Re: vertex skinning: error index expression must be constant

    cause i try like that it doesn't work:

    vertex shader

    #define NUM_BONES 20
    ........
    .......
    uniform mat4 bones[NUM_BONES];
    ......................................
    .......vertex...
  2. Replies
    1
    Views
    1,354

    upload array of matrix

    how can we upload an array of matrix with gluniformMatrix?
  3. Re: vertex skinning: error index expression must be constant

    ok thanks but how did u upload ypur array of matrixs bindToModel, i know its with gl_uniformMatrix but can u give me the exact syntax please
  4. Re: vertex skinning: error index expression must be constant

    ok thanks

    did u try molehill? what you think about u prefer webgl?
  5. Re: vertex skinning: error index expression must be constant

    i used chrome 9 and i downloaded 10 today and the bug is still there
    im on windows 64

    how did u store your bones in the vertex shader and how did you index them with the influences for each...
  6. vertex skinning: error index expression must be constant

    i have done a vertex skinning animation with 52 bones and all was working fine in the vertex shader before the new webgl spec but now i have this error : []index expression must be constant each...
  7. Replies
    1
    Views
    3,226

    glsl tangente space bump mapping

    i try to make a tangent space bump mapping but it doesn’t work why?

    here is my code :
    vertex shader :

    attribute vec3 aVertexPosition;
    attribute vec2 aTextureCoord;
    attribute vec3...
Results 1 to 7 of 7