Switching between attachmentNodes?

The cap is 4 because a vertex attribute can contain up to 4 elements. If you want to use more than that (like 6 or 8), you have to create another vertex attribute.

If there’s only one influencing bone, the shader will compute the other 3 matrices, but then will discard the result (since the weights for those bones will be zero).

1 Like