Forum

Recompose mesh subsets?

i have a generated mesh with a simple sinewave animation applied (ex.a leave) that i want to distribute via transform but with different animation periods.
spreading all leaves into one verexbuffer should work, but how can i handle individual leaves with transforms ?

recompose mesh subsets.zip (2.4 kB)

VertexBuffer can only join one subset… so either do the vertex transform is a shader (which will be much faster anyways), or consider using a collada file with animation.