Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- afficheurShader.position = gl.getAttribLocation( afficheurShader , "position" );
- gl.enableVertexAttribArray( afficheurShader.position );
- gl.vertexAttribPointer ( afficheurShader.position , 2 , gl.FLOAT , false , 0 , 0 );
- gridShader.position = gl.getAttribLocation( gridShader , "position" );
- gl.enableVertexAttribArray( gridShader.position );
- gl.vertexAttribPointer ( gridShader.position , 2 , gl.FLOAT , false , 0 , 0 );
- mainShader.position = gl.getAttribLocation( mainShader , "position" );
- gl.enableVertexAttribArray( mainShader.position) ;
- gl.vertexAttribPointer ( mainShader.position , 2 , gl.FLOAT , false , 0 , 0 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement