Hi all!
I hope ill be clear enough to explain my question…
The situation is that im trying to feed bones weights values to a vertex shader… to do so, im using one vertex attribute… it all make sense to send one set of weights through a vertex attribute… considering many bones can affect a single vertex, im confused about sending more then one set of weights values.
How to:
1 – use one vertex attribute per bones.
2 – use the same vertex attribute but send more then one set of values in it.
Considering the solution number 2, since the vertex attribute values are suppose to be in the same order as the vertices… how do you organize the values? And especially how do you retrieve them? perhaps there is a simple solution to this… I ll really appreciate if someone could help me figure this out.
thx