Original Post
Hy. I have read about a vertex shader that apply the wheight of a skinned mesh and smoot in that mode a mesh(with skeleton). I'm not understand at what is applyed a shader: 1)the entire scene 2)a set of vertex with normals , texture ecc... The program update every frame some constant matrix of the shader that get the information of the vertex in that case the bind index bone and the wheights for vertex that have in this case above the x,y,z,normal,texture ecc.. a set of 3 bind index bone and w1,w2,w3 (the weights) and so one... The problem born if i have more than a skinned mesh (that have a different skeleton , bind bone index and weights)or two skinned mesh with different poses(position of bones) , if the shader transform the entire scene how i can update the two different set of shader constants matrix? Thanks