We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to pass an array with offsets for every vertex into a shader. At the moment its done by an grayscale texture holding the offset in the color value. I wonder if there is an easier way to do this.
Answers
Hi, if you are using the standard drawing functions (beginShape/endShape/etc), I would say that's the only way at this time to pass additional vertex attributes to the shaders, since there is currently no API that allows you to create custom attributes.
Thanks