Is it possible to access to the IndexBuffer ?

edited May 2016 in GLSL / Shaders

Hello !

I would like to move triangles in 3D-space contained inside one single call of "beginShape" as if it was "sub-PShape", with it's own motion and properties. I know exactly how to do it but I need to access to the indexBuffer because z-sorting only work with fixed-mesh and I need to z-sort the triangles by myself and send the buffer to the GPU at each frame to get my stuff work.

Is there a "hint" or something that allow me to update the indexBuffer ?

Answers

Sign In or Register to comment.