Open
Description
i download webgl-state-diagram.html and add some samples . So i added a sample with a vertexAttrib4fv.
And i watch step by step, but the step gl.vertexAttrib4fv(posLoc1,[0.5,0.5,0.,1.]); does not appear in the vertex Array window.
if i put that code ( two stable attribute) :
const posLoc1 = gl.getAttribLocation(program1Attrib, 'position1);
gl.disableVertexAttribArray(posLoc1);
gl.vertexAttrib4fv(posLoc1,[0.3,0.2,0.,1.]);
const posLoc2 = gl.getAttribLocation(program1Attrib, 'position2');
gl.disableVertexAttribArray(posLoc2);
gl.vertexAttrib4fv(posLoc2,[0.5,0.5,0.,1.]);
And i watch step by step, in the vertex Array window, there is only posLoc1
Metadata
Metadata
Assignees
Labels
No labels